]> err.no Git - linux-2.6/commitdiff
[POWERPC] Move prototype for find_udbg_vterm() into a header file
authorMichael Ellerman <michael@ellerman.id.au>
Wed, 16 Apr 2008 03:51:48 +0000 (13:51 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 17 Apr 2008 00:00:59 +0000 (10:00 +1000)
Move the prototype for find_udbg_vterm() into pseries.h, removing
it from setup.c.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/lpar.c
arch/powerpc/platforms/pseries/pseries.h
arch/powerpc/platforms/pseries/setup.c

index 233d9be25f49248958f93eb91d55a92c8d5ebde6..8a204523afbc901962cebd44a9848aebec707f97 100644 (file)
@@ -40,6 +40,7 @@
 #include <asm/smp.h>
 
 #include "plpar_wrappers.h"
+#include "pseries.h"
 
 #ifdef DEBUG_LOW
 #define DBG_LOW(fmt...) do { udbg_printf(fmt); } while(0)
index 61136d019554944e1c681da0b191504a6a7b94ca..9e17c0d2a0c89186e71390d02a5f19b6659993b3 100644 (file)
@@ -38,4 +38,6 @@ extern void pSeries_final_fixup(void);
 /* Poweron flag used for enabling auto ups restart */
 extern unsigned long rtas_poweron_auto;
 
+extern void find_udbg_vterm(void);
+
 #endif /* _PSERIES_PSERIES_H */
index 90555a39fe628b14779534e78e756f8876661e98..fccca89ee04e95ceb133a9f138a7ff72aef1ada1 100644 (file)
@@ -76,9 +76,6 @@
 #define DBG(fmt...)
 #endif
 
-/* move those away to a .h */
-extern void find_udbg_vterm(void);
-
 int fwnmi_active;  /* TRUE if an FWNMI handler is present */
 
 static void pseries_shared_idle_sleep(void);