diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2007-02-08 18:33:55 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-02-14 11:50:03 +1100 |
commit | 8feaeca23ab8f520e7af2a862fd6ea8e7bfd8854 (patch) | |
tree | 249798bed7822c8b2640122ae15c485a1f29593e /arch/powerpc/platforms/pseries/smp.c | |
parent | 577830b034bc11c93d4b9e21e8782900d5485e7f (diff) | |
download | linux-8feaeca23ab8f520e7af2a862fd6ea8e7bfd8854.tar.gz linux-8feaeca23ab8f520e7af2a862fd6ea8e7bfd8854.tar.bz2 linux-8feaeca23ab8f520e7af2a862fd6ea8e7bfd8854.zip |
[POWERPC] Cleanup pseries smp initialisation code
Move some extern declarations from setup.c into the new pseries.h.
While we're at it, provide dummy implementations for !SMP, to avoid
cluttering the C file with more #ifdefs.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/pseries/smp.c')
-rw-r--r-- | arch/powerpc/platforms/pseries/smp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/smp.c b/arch/powerpc/platforms/pseries/smp.c index 4408518eaebe..116305b22a2b 100644 --- a/arch/powerpc/platforms/pseries/smp.c +++ b/arch/powerpc/platforms/pseries/smp.c @@ -48,6 +48,7 @@ #include <asm/vdso_datapage.h> #include "plpar_wrappers.h" +#include "pseries.h" #ifdef DEBUG #include <asm/udbg.h> |