]> git.hungrycats.org Git - linux/commit
[PATCH] Fix X86_GENERICARCH & NUMA compile error
authorAndrew Morton <akpm@osdl.org>
Tue, 30 Dec 2003 07:43:28 +0000 (23:43 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Tue, 30 Dec 2003 07:43:28 +0000 (23:43 -0800)
commit5cc7f3293fb691cb8c99b6e8f7c9564feaf2f4ed
treed1548127023b214e38d96f122e14cbcb2434c70c
parentdbc58779006997148920182615b5e4c593f6cfb7
[PATCH] Fix X86_GENERICARCH & NUMA compile error

From: Matthew Dobson <colpatch@us.ibm.com>

Trying to build a kernel with both CONFIG_X86_GENERICARCH and
CONFIG_NUMA on results in a compile error.  This patch fixes that build
problem by adding a config option for NUMA on Summit which is used to
correctly conditionally compile arch/i386/kernel/summit.c and properly
ifdef the function calls used in generic code.  Please apply.

Running make -j24 bzImage
arch/i386/mach-generic/built-in.o: In function `mps_oem_check':
arch/i386/mach-generic/built-in.o(.text+0x3ce): undefined reference to
`setup_summit'
arch/i386/mach-generic/built-in.o: In function `acpi_madt_oem_check':
arch/i386/mach-generic/built-in.o(.text+0x468): undefined reference to
`setup_summit'
make: *** [.tmp_vmlinux1] Error 1
arch/i386/Kconfig
arch/i386/kernel/Makefile
arch/i386/kernel/summit.c
include/asm-i386/mach-summit/mach_mpparse.h
include/asm-i386/mpspec.h