]> git.baikalelectronics.ru Git - kernel.git/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)
commit2434c6ba148f4527b8171d338fe246017c703c13
treeed06fb0358a2f271aeca125211e8fefaea335c50
parentf5ae00ce2d24f0b8b846cd307e30458bc3df66a5
[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 <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