From: Fernando Luis Vazquez Cao With the advent of kdump, the assumption that the boot CPU when booting an UP kernel is always the CPU with a hardware ID of 0 (usually referred to as BSP on some architectures) is not valid anymore. Signed-off-by: Fernando Luis Vazquez Cao Cc: Andi Kleen Cc: Vivek Goyal Cc: "Eric W. Biederman" Cc: Richard Henderson Cc: Ivan Kokshaysky Cc: Paul Mackerras Cc: Benjamin Herrenschmidt Cc: Hirokazu Takata Cc: Martin Schwidefsky Cc: Heiko Carstens Cc: "David S. Miller" Cc: Jeff Dike Cc: "Luck, Tony" Signed-off-by: Andrew Morton --- include/linux/smp.h | 1 - 1 files changed, 1 deletion(-) diff -puN include/linux/smp.h~remove-hardcoding-of-hard_smp_processor_id-on-up include/linux/smp.h --- a/include/linux/smp.h~remove-hardcoding-of-hard_smp_processor_id-on-up +++ a/include/linux/smp.h @@ -83,7 +83,6 @@ void smp_prepare_boot_cpu(void); * These macros fold the SMP functionality into a single CPU system */ #define raw_smp_processor_id() 0 -#define hard_smp_processor_id() 0 static inline int up_smp_call_function(void) { return 0; _