Commit d7f0439b authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ppc64 compile fix

From: Arjan van de Ven <arjanv@redhat.com>

fix obvious non-C-standard stubs on ppc64
parent cdb7bc8f
......@@ -82,12 +82,12 @@ extern void xmon_init(void);
#endif
#else
static inline int debugger(struct *pt_regs regs) { return 0; }
static inline int debugger_bpt(struct *pt_regs regs) { return 0; }
static inline int debugger_sstep(struct *pt_regs regs) { return 0; }
static inline int debugger_iabr_match(struct *pt_regs regs) { return 0; }
static inline int debugger_dabr_match(struct *pt_regs regs) { return 0; }
static inline int debugger_fault_handler(struct *pt_regs regs) { return 0; }
static inline int debugger(struct pt_regs *regs) { return 0; }
static inline int debugger_bpt(struct pt_regs *regs) { return 0; }
static inline int debugger_sstep(struct pt_regs *regs) { return 0; }
static inline int debugger_iabr_match(struct pt_regs *regs) { return 0; }
static inline int debugger_dabr_match(struct pt_regs *regs) { return 0; }
static inline int debugger_fault_handler(struct pt_regs *regs) { return 0; }
#endif
extern void show_regs(struct pt_regs * regs);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment