Start replacing +check2614 with the real owners
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 10 Oct 2005 22:24:46 +0000 (22:24 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 10 Oct 2005 22:24:46 +0000 (22:24 +0000)
- series.conf

suse-commit: de9d52e5574c695622b2e81edc425fcc91033c88

arch/i386/Makefile
arch/ia64/kernel/traps.c
arch/ppc64/kernel/traps.c
arch/sparc64/kernel/traps.c
scripts/mkmakefile

index 40f8336..5190e1c 100644 (file)
@@ -74,6 +74,12 @@ cflags-$(CONFIG_REGPARM)     += $(shell if [ $(GCC_VERSION) -ge 0300 ] ; then echo
 # due to the lack of sharing of stacklots.
 CFLAGS += $(call cc-option,-fno-unit-at-a-time)
 
+# m586 and genericarch is likely a distribution kernel. optimize for the
+# most common CPU (686)
+ifeq ($(CONFIG_X86_GENERICARCH),y)
+cflags-$(CONFIG_M586) += $(call cc-option,-mtune=i686)
+endif
+
 CFLAGS += $(cflags-y)
 
 # Default subarch .c files
index 76813b9..8741194 100644 (file)
@@ -44,6 +44,7 @@ int register_die_notifier(struct notifier_block *nb)
        spin_unlock_irqrestore(&die_notifier_lock, flags);
        return err;
 }
+EXPORT_SYMBOL(register_die_notifier);
 
 void __init
 trap_init (void)
index 7467ae5..bbb47e6 100644 (file)
@@ -75,6 +75,7 @@ int register_die_notifier(struct notifier_block *nb)
        spin_unlock_irqrestore(&die_notifier_lock, flags);
        return err;
 }
+EXPORT_SYMBOL(register_die_notifier);
 
 /*
  * Trap & Exception support
index 5570e7b..0d2fee3 100644 (file)
@@ -54,6 +54,7 @@ int register_die_notifier(struct notifier_block *nb)
        spin_unlock_irqrestore(&die_notifier_lock, flags);
        return err;
 }
+EXPORT_SYMBOL(register_die_notifier);
 
 /* When an irrecoverable trap occurs at tl > 0, the trap entry
  * code logs the trap state registers at every level in the trap
index c4d621b..753e764 100644 (file)
 
 
 cat << EOF
-# Automatically generated by $0: don't edit
+# Automatically generated by $(basename $0): don't edit
 
 VERSION = $3
 PATCHLEVEL = $4
 
 KERNELSRC    := $1
 KERNELOUTPUT := $2
+export ARCH  := $ARCH
 
 MAKEFLAGS += --no-print-directory