diff options
| author | Alexey Dobriyan <[email protected]> | 2008-11-02 07:26:51 +0000 |
|---|---|---|
| committer | Paul Mackerras <[email protected]> | 2008-11-05 08:59:08 +0000 |
| commit | fce4d58353e449a1ac637fc8d2b994e0fcc55312 (patch) | |
| tree | ee0888625ec963c4297438647fe4e0c341477721 /net/unix/af_unix.c | |
| parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 (diff) | |
| download | kernel-fce4d58353e449a1ac637fc8d2b994e0fcc55312.tar.gz kernel-fce4d58353e449a1ac637fc8d2b994e0fcc55312.zip | |
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 <[email protected]>
Acked-by: Geoff Levand <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
