diff options
author | Kyle Moffett <Kyle.D.Moffett@boeing.com> | 2011-12-02 01:27:58 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-12-06 21:43:06 -0500 |
commit | 582d3e099413c3741a88bdee9e3ff3cc2f9d3329 (patch) | |
tree | 1147f4ef9d3e5b64c56f7c83f69ce8d4f16b0988 /arch/powerpc/platforms/85xx/smp.h | |
parent | fa8cbaaf5a68f62db3f9a8444ecbb940b47984cb (diff) |
powerpc/85xx: Move mpc85xx_smp_init() decl to a new "smp.h"
This removes a bunch of "extern" declarations and CONFIG_SMP ifdefs.
Signed-off-by: Kyle Moffett <Kyle.D.Moffett@boeing.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/85xx/smp.h')
-rw-r--r-- | arch/powerpc/platforms/85xx/smp.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/85xx/smp.h b/arch/powerpc/platforms/85xx/smp.h new file mode 100644 index 000000000000..e2b44933ff19 --- /dev/null +++ b/arch/powerpc/platforms/85xx/smp.h | |||
@@ -0,0 +1,15 @@ | |||
1 | #ifndef POWERPC_85XX_SMP_H_ | ||
2 | #define POWERPC_85XX_SMP_H_ 1 | ||
3 | |||
4 | #include <linux/init.h> | ||
5 | |||
6 | #ifdef CONFIG_SMP | ||
7 | void __init mpc85xx_smp_init(void); | ||
8 | #else | ||
9 | static inline void mpc85xx_smp_init(void) | ||
10 | { | ||
11 | /* Nothing to do */ | ||
12 | } | ||
13 | #endif | ||
14 | |||
15 | #endif /* not POWERPC_85XX_SMP_H_ */ | ||