From 2434c6ba148f4527b8171d338fe246017c703c13 Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Thu, 10 May 2007 22:17:18 +1000 Subject: [PATCH] [POWERPC] Fix compile error with kexec and CONFIG_SMP=n Commit 5d8c251fde54dab7ff10fb156a3c6445aa088c62 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 --- arch/powerpc/platforms/pseries/kexec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/platforms/pseries/kexec.c b/arch/powerpc/platforms/pseries/kexec.c index af2685607458e..412a5e7aff2d3 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" -- 2.39.5