Skip to content

Commit

Permalink
[POWERPC] Move prototype for find_udbg_vterm() into a header file
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael Ellerman authored and Paul Mackerras committed Apr 17, 2008
1 parent 37ddd5d commit 21cf913
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions arch/powerpc/platforms/pseries/lpar.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions arch/powerpc/platforms/pseries/pseries.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
3 changes: 0 additions & 3 deletions arch/powerpc/platforms/pseries/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 21cf913

Please sign in to comment.