diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-05-15 23:21:09 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-05-17 07:11:14 -0400 |
commit | f7c0d13b9430c4bb4b6f8507ed19d7cc7971dfa5 (patch) | |
tree | d8bda386c69b507d8dedaa0a72b567339f0b8539 | |
parent | 0453c62c8035f1a8a6e331b235c02ccdcb4e8910 (diff) |
[POWERPC] Fix warning on UP
arch/powerpc/platforms/pseries/pseries.h:24: warning: return type defaults to 'int'
arch/powerpc/platforms/pseries/pseries.h:25: warning: return type defaults to 'int'
arch/powerpc/platforms/pseries/pseries.h:24: warning: control reaches end of non-void function
arch/powerpc/platforms/pseries/pseries.h:25: warning: control reaches end of non-void function
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r-- | arch/powerpc/platforms/pseries/pseries.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/pseries/pseries.h b/arch/powerpc/platforms/pseries/pseries.h index 22bc01989749..2729d559fd91 100644 --- a/arch/powerpc/platforms/pseries/pseries.h +++ b/arch/powerpc/platforms/pseries/pseries.h | |||
@@ -21,8 +21,8 @@ extern int pSeries_machine_check_exception(struct pt_regs *regs); | |||
21 | extern void smp_init_pseries_mpic(void); | 21 | extern void smp_init_pseries_mpic(void); |
22 | extern void smp_init_pseries_xics(void); | 22 | extern void smp_init_pseries_xics(void); |
23 | #else | 23 | #else |
24 | static inline smp_init_pseries_mpic(void) { }; | 24 | static inline void smp_init_pseries_mpic(void) { }; |
25 | static inline smp_init_pseries_xics(void) { }; | 25 | static inline void smp_init_pseries_xics(void) { }; |
26 | #endif | 26 | #endif |
27 | 27 | ||
28 | #ifdef CONFIG_KEXEC | 28 | #ifdef CONFIG_KEXEC |