1
linux/drivers/ps3
Alexey Dobriyan fce4d58353 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 <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 <adobriyan@gmail.com>
Acked-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-11-05 19:59:08 +11:00
..
Makefile [POWERPC] PS3: Add logical performance monitor driver support 2008-01-25 22:52:53 +11:00
ps3-lpm.c powerpc/ps3: Fix compile error in ps3-lpm.c 2008-11-05 19:59:08 +11:00
ps3-sys-manager.c [POWERPC] PS3: Remove unsupported wakeup sources 2008-05-02 15:00:44 +10:00
ps3-vuart.c [POWERPC] PS3: Vuart: change semaphore to mutex 2008-01-25 22:52:53 +11:00
ps3av_cmd.c ps3: Add passthru support for non-audio streams 2008-10-20 08:05:15 +02:00
ps3av.c ps3: Add ps3av_audio_mute_analog() 2008-10-20 08:04:59 +02:00
ps3stor_lib.c Add missing newlines to some uses of dev_<level> messages 2007-10-18 14:37:28 -07:00
sys-manager-core.c [POWERPC] PS3: Save power in busy loops on halt 2008-04-01 20:43:07 +11:00
vuart.h [POWERPC] PS3: Vuart rework 2007-06-28 19:16:40 +10:00