From: Tobias Klauser Include smp.h to fix the following error when compiling with CONFIG_X86_VOYAGER=y and CONFIG_SMP not set (found using 'make randconfig'). arch/i386/mach-voyager/setup.c: In function 'time_init_hook': arch/i386/mach-voyager/setup.c:52: error: implicit declaration of function 'safe_smp_processor_id' Signed-off-by: Tobias Klauser Cc: James Bottomley Cc: Andi Kleen Signed-off-by: Andrew Morton --- arch/i386/mach-voyager/setup.c | 1 + 1 file changed, 1 insertion(+) diff -puN arch/i386/mach-voyager/setup.c~voyager-include-asm-smph-to-fix-compile-error arch/i386/mach-voyager/setup.c --- a/arch/i386/mach-voyager/setup.c~voyager-include-asm-smph-to-fix-compile-error +++ a/arch/i386/mach-voyager/setup.c @@ -9,6 +9,7 @@ #include #include #include +#include void __init pre_intr_init_hook(void) { _