From: Paul Mackerras Date: Thu, 10 May 2007 12:17:18 +0000 (+1000) Subject: [POWERPC] Fix compile error with kexec and CONFIG_SMP=n X-Git-Tag: v2.6.22-rc1~108^2 X-Git-Url: http://git.rot13.org/?p=powerpc.git;a=commitdiff_plain;h=f64071200acc124bd0d641ef7d750f38fbf5f8b8 [POWERPC] Fix compile error with kexec and CONFIG_SMP=n Commit 2f4dfe206a2fc07099dfad77a8ea2f4b4ae2140f moved the definition of hard_smp_processor_id() for the UP case from include/linux/smp.h to include/asm/smp.h. However, include/linux/smp.h only includes include/asm/smp.h in the SMP case, so code that wants to use hard_smp_processor_id() has to include explicitly to be sure of getting the definition. Signed-off-by: Paul Mackerras --- diff --git a/arch/powerpc/platforms/pseries/kexec.c b/arch/powerpc/platforms/pseries/kexec.c index af26856074..412a5e7aff 100644 --- a/arch/powerpc/platforms/pseries/kexec.c +++ b/arch/powerpc/platforms/pseries/kexec.c @@ -12,6 +12,7 @@ #include #include #include +#include #include "pseries.h" #include "xics.h"