android_kernel_xiaomi_sm8350/arch
Mikael Pettersson 37e64e5ae1 [SPARC64]: Fix stack overflow checking in modular non-SMP kernels.
The sparc64 kernel's EXPORT_SYMBOL(_mcount) is inside an
#ifdef CONFIG_SMP. This breaks modules in non-SMP kernels
built with stack overflow checking (CONFIG_STACK_DEBUG=y),
as modules_install reports:

WARNING: /lib/modules/2.6.17/kernel/drivers/ide/ide-cd.ko needs unknown symbol _mcount

Trivially fixed by moving EXPORT_SYMBOL(_mcount) outside of
the #ifdef CONFIG_SMP.

Signed-off-by: Mikael Pettersson <mikpe@it.uu.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-07-05 20:42:58 -07:00
..
alpha Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild 2006-07-03 21:26:12 -07:00
arm [ARM] Fix warning in consistent.c 2006-07-03 13:30:52 +01:00
arm26 [PATCH] irq-flags: ARM26: Use the new IRQF_ constants 2006-07-02 13:58:46 -07:00
cris [PATCH] irq-flags: CRIS: Use the new IRQF_ constants 2006-07-02 13:58:46 -07:00
frv kbuild: introduce utsrelease.h 2006-07-03 23:30:54 +02:00
h8300 [PATCH] irq-flags: H8300: Use the new IRQF_ constants 2006-07-02 13:58:47 -07:00
i386 Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild 2006-07-03 21:26:12 -07:00
ia64 [PATCH] Fix copying of pgdat array on each node for ia64 memory hotplug 2006-07-04 10:24:57 -07:00
m32r [PATCH] irq-flags: M32R: Use the new IRQF_ constants 2006-07-02 13:58:47 -07:00
m68k [PATCH] irq-flags: M68K: Use the new IRQF_ constants 2006-07-02 13:58:47 -07:00
m68knommu [PATCH] irq-flags: M68KNOMMU: Use the new IRQF_ constants 2006-07-02 13:58:47 -07:00
mips [PATCH] sched: cleanup, remove task_t, convert to struct task_struct 2006-07-03 15:27:11 -07:00
parisc [PATCH] irq-flags: PARISC: Use the new IRQF_ constants 2006-07-02 13:58:47 -07:00
powerpc [PATCH] powerpc: Fix loss of interrupts with MPIC 2006-07-05 09:29:43 -07:00
ppc Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild 2006-07-03 21:26:12 -07:00
s390 [PATCH] lockdep: irqtrace subsystem, move account_system_vtime() calls into kernel/softirq.c 2006-07-03 15:27:10 -07:00
sh [PATCH] irq-flags: SH: Use the new IRQF_ constants 2006-07-02 13:58:48 -07:00
sh64 [PATCH] irq-flags: SH64: Use the new IRQF_ constants 2006-07-02 13:58:48 -07:00
sparc [PATCH] irq-flags: SPARC: Use the new IRQF_ constants 2006-07-02 13:58:48 -07:00
sparc64 [SPARC64]: Fix stack overflow checking in modular non-SMP kernels. 2006-07-05 20:42:58 -07:00
um [PATCH] sched: cleanup, remove task_t, convert to struct task_struct 2006-07-03 15:27:11 -07:00
v850 [PATCH] irq-flags: V850: Use the new IRQF_ constants 2006-07-02 13:58:48 -07:00
x86_64 Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild 2006-07-03 21:26:12 -07:00
xtensa [PATCH] irq-flags: XTENSA: Use the new IRQF_ constants 2006-07-02 13:58:49 -07:00