Commit 7f4afd7a authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ppc64: fix debugger() warnings

From: Anton Blanchard <anton@samba.org>

Fix compile warnings and add some type safety to debugger macros.
parent 06c3f1d6
...@@ -82,12 +82,12 @@ extern void xmon_init(void); ...@@ -82,12 +82,12 @@ extern void xmon_init(void);
#endif #endif
#else #else
#define debugger(regs) 0 static inline int debugger(struct *pt_regs regs) { return 0; }
#define debugger_bpt(regs) 0 static inline int debugger_bpt(struct *pt_regs regs) { return 0; }
#define debugger_sstep(regs) 0 static inline int debugger_sstep(struct *pt_regs regs) { return 0; }
#define debugger_iabr_match(regs) 0 static inline int debugger_iabr_match(struct *pt_regs regs) { return 0; }
#define debugger_dabr_match(regs) 0 static inline int debugger_dabr_match(struct *pt_regs regs) { return 0; }
#define debugger_fault_handler(regs) 0 static inline int debugger_fault_handler(struct *pt_regs regs) { return 0; }
#endif #endif
extern void show_regs(struct pt_regs * regs); 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