From: Alexey Dobriyan Date: Sun, 2 Nov 2008 07:26:51 +0000 (+0000) Subject: powerpc/ps3: Fix compile error in ps3-lpm.c X-Git-Tag: v2.6.28-rc4~29^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fce4d58353e449a1ac637fc8d2b994e0fcc55312;p=pandora-kernel.git powerpc/ps3: Fix compile error in ps3-lpm.c 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 rather than because the UP definition of get_hard_smp_processor_id() is in , and only includes if CONFIG_SMP = y. Signed-off-by: Alexey Dobriyan Acked-by: Geoff Levand Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed