x86: compile error fix for smpboot.c
authorJeremy Fitzhardinge <jeremy@goop.org>
Wed, 21 May 2008 10:21:13 +0000 (11:21 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 09:31:27 +0000 (11:31 +0200)
commitf307d25e638d3408659a2ec98fb3fd1737f7cb31
tree38c91096f2166c7dbea776ea81bf97f0ac245e28
parent5deb0b2a25b7b568ab81f7c38052572ecf4ccc96
x86: compile error fix for smpboot.c

Without this patch, my link fails with:

arch/x86/kernel/built-in.o(.cpuinit.text+0x3c6e): In function `get_local_pda':
: undefined reference to `_cpu_pda'
arch/x86/kernel/built-in.o(.cpuinit.text+0x3cd1): In function `get_local_pda':
: undefined reference to `after_bootmem'
arch/x86/kernel/built-in.o(.cpuinit.text+0x3cec): In function `get_local_pda':
: undefined reference to `_cpu_pda'
make[2]: *** [.tmp_vmlinux1] Error 1

Caused by commit 766da892634694f795b18b9538407816896fc470
    x86: remove static boot_cpu_pda array v2

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/smpboot.c