android_kernel_xiaomi_sm8350/arch/sparc64
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
..
boot
kernel [SPARC64]: Fix stack overflow checking in modular non-SMP kernels. 2006-07-05 20:42:58 -07:00
lib Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
math-emu
mm Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
oprofile
prom Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
solaris Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
defconfig [SPARC64]: Update defconfig. 2006-06-23 23:17:48 -07:00
Kconfig [SPARC64]: Move over to GENERIC_HARDIRQS. 2006-06-20 01:23:32 -07:00
Kconfig.debug
Makefile