diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2006-10-03 00:12:07 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-10-04 00:52:17 -0400 |
commit | 23b8acb1cf49fea74a9d431de258787384951eac (patch) | |
tree | 21fb39418c3f6504830698309adbfbbc1250be29 /include/asm-powerpc/system.h | |
parent | 14b1ffb577a8678e228683bd015302cfe964040c (diff) |
[POWERPC] Cleanup include/asm-powerpc/xmon.h
For some reason we have two prototypes for xmon_init(), remove the
one in system.h.
No one calls xmon() anymore, debugger() is preferable, so we don't
need the prototype. And similarly no one calls xmon_printf().
Also update the include guards on xmon.h to match the standard
format, add copyright and license, and add comments to #endifs.
Built for pseries_defconfig and pmac32_defconfig.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/system.h')
-rw-r--r-- | include/asm-powerpc/system.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/asm-powerpc/system.h b/include/asm-powerpc/system.h index 4b41deaa8d8d..43627596003b 100644 --- a/include/asm-powerpc/system.h +++ b/include/asm-powerpc/system.h | |||
@@ -91,10 +91,6 @@ DEBUGGER_BOILERPLATE(debugger_iabr_match) | |||
91 | DEBUGGER_BOILERPLATE(debugger_dabr_match) | 91 | DEBUGGER_BOILERPLATE(debugger_dabr_match) |
92 | DEBUGGER_BOILERPLATE(debugger_fault_handler) | 92 | DEBUGGER_BOILERPLATE(debugger_fault_handler) |
93 | 93 | ||
94 | #ifdef CONFIG_XMON | ||
95 | extern void xmon_init(int enable); | ||
96 | #endif | ||
97 | |||
98 | #else | 94 | #else |
99 | static inline int debugger(struct pt_regs *regs) { return 0; } | 95 | static inline int debugger(struct pt_regs *regs) { return 0; } |
100 | static inline int debugger_ipi(struct pt_regs *regs) { return 0; } | 96 | static inline int debugger_ipi(struct pt_regs *regs) { return 0; } |