mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 07:52:34 +00:00
Compiling with CONFIG_SMP = n and CONFIG_PS3_LPM != n gives this error: drivers/ps3/ps3-lpm.c:838: error: implicit declaration of function 'get_hard_smp_processor_id' This fixes it. We have to include <asm/smp.h> rather than <linux/smp.h> because the UP definition of get_hard_smp_processor_id() is in <asm/smp.h>, and <linux/smp.h> only includes <asm/smp.h> if CONFIG_SMP = y. Signed-off-by: Alexey Dobriyan <[email protected]> Acked-by: Geoff Levand <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>