Commit:     f64071200acc124bd0d641ef7d750f38fbf5f8b8
Parent:     40472a55461a672c929a092e648f6c5d21c9c310
Author:     Paul Mackerras <[EMAIL PROTECTED]>
AuthorDate: Thu May 10 22:17:18 2007 +1000
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Thu May 10 22:17:18 2007 +1000

    [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 <asm/smp.h> explicitly to
    be sure of getting the definition.
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
 arch/powerpc/platforms/pseries/kexec.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/platforms/pseries/kexec.c 
index af26856..412a5e7 100644
--- a/arch/powerpc/platforms/pseries/kexec.c
+++ b/arch/powerpc/platforms/pseries/kexec.c
@@ -12,6 +12,7 @@
 #include <asm/firmware.h>
 #include <asm/kexec.h>
 #include <asm/mpic.h>
+#include <asm/smp.h>
 #include "pseries.h"
 #include "xics.h"
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to