Commit f6407120 authored by Paul Mackerras's avatar Paul Mackerras
Browse files

[POWERPC] Fix compile error with kexec and CONFIG_SMP=n

Commit 2f4dfe20

 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: default avatarPaul Mackerras <paulus@samba.org>
parent 40472a55
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment