提交 21cf9133 编写于 作者: M Michael Ellerman 提交者: Paul Mackerras

[POWERPC] Move prototype for find_udbg_vterm() into a header file

Move the prototype for find_udbg_vterm() into pseries.h, removing
it from setup.c.
Signed-off-by: NMichael Ellerman <michael@ellerman.id.au>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 37ddd5d0
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
#include <asm/smp.h> #include <asm/smp.h>
#include "plpar_wrappers.h" #include "plpar_wrappers.h"
#include "pseries.h"
#ifdef DEBUG_LOW #ifdef DEBUG_LOW
#define DBG_LOW(fmt...) do { udbg_printf(fmt); } while(0) #define DBG_LOW(fmt...) do { udbg_printf(fmt); } while(0)
......
...@@ -38,4 +38,6 @@ extern void pSeries_final_fixup(void); ...@@ -38,4 +38,6 @@ extern void pSeries_final_fixup(void);
/* Poweron flag used for enabling auto ups restart */ /* Poweron flag used for enabling auto ups restart */
extern unsigned long rtas_poweron_auto; extern unsigned long rtas_poweron_auto;
extern void find_udbg_vterm(void);
#endif /* _PSERIES_PSERIES_H */ #endif /* _PSERIES_PSERIES_H */
...@@ -76,9 +76,6 @@ ...@@ -76,9 +76,6 @@
#define DBG(fmt...) #define DBG(fmt...)
#endif #endif
/* move those away to a .h */
extern void find_udbg_vterm(void);
int fwnmi_active; /* TRUE if an FWNMI handler is present */ int fwnmi_active; /* TRUE if an FWNMI handler is present */
static void pseries_shared_idle_sleep(void); static void pseries_shared_idle_sleep(void);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册