https://github.com/torvalds/linux
Revision 37e64e5ae1a9554762b6ec494871adcf48be20cf authored by Mikael Pettersson on 06 July 2006, 03:42:58 UTC, committed by David S. Miller on 06 July 2006, 03:42:58 UTC
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>
1 parent 7233589
History
Tip revision: 37e64e5ae1a9554762b6ec494871adcf48be20cf authored by Mikael Pettersson on 06 July 2006, 03:42:58 UTC
[SPARC64]: Fix stack overflow checking in modular non-SMP kernels.
Tip revision: 37e64e5
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 462 bytes
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 87.5 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 69.5 KB
Makefile -rw-r--r-- 46.1 KB
README -rw-r--r-- 16.2 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top