From: Mikael Pettersson Date: Thu, 6 Jul 2006 03:42:58 +0000 (-0700) Subject: [SPARC64]: Fix stack overflow checking in modular non-SMP kernels. X-Git-Tag: v2.6.18-rc1~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37e64e5ae1a9554762b6ec494871adcf48be20cf;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed