From: Andrew Morton ho hum Cc: Jeremy Fitzhardinge Cc: Andi Kleen Cc: Chuck Ebbert <76306.1226@compuserve.com> Cc: Zachary Amsden Cc: Jan Beulich Cc: Andi Kleen Signed-off-by: Andrew Morton --- include/asm-i386/smp.h | 2 ++ 1 file changed, 2 insertions(+) diff -puN include/asm-i386/smp.h~fix-x86_64-mm-i386-pda-smp-processorid include/asm-i386/smp.h --- a/include/asm-i386/smp.h~fix-x86_64-mm-i386-pda-smp-processorid +++ a/include/asm-i386/smp.h @@ -95,6 +95,7 @@ extern unsigned int num_processors; #else /* CONFIG_SMP */ #define cpu_physical_id(cpu) boot_cpu_physical_apicid +#define early_smp_processor_id() 0 #define NO_PROC_ID 0xFF /* No processor magic marker */ @@ -110,6 +111,7 @@ static __inline int logical_smp_processo return GET_APIC_LOGICAL_ID(*(unsigned long *)(APIC_BASE+APIC_LDR)); } #endif + #endif #endif _