]> err.no Git - linux-2.6/commit
[POWERPC] Fix compile error with kexec and CONFIG_SMP=n
authorPaul Mackerras <paulus@samba.org>
Thu, 10 May 2007 12:17:18 +0000 (22:17 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 10 May 2007 12:17:18 +0000 (22:17 +1000)
commitf64071200acc124bd0d641ef7d750f38fbf5f8b8
treeed06fb0358a2f271aeca125211e8fefaea335c50
parent40472a55461a672c929a092e648f6c5d21c9c310
[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 <paulus@samba.org>
arch/powerpc/platforms/pseries/kexec.c