diff options
author | David S. Miller <davem@davemloft.net> | 2008-02-19 23:48:58 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-19 23:48:58 -0500 |
commit | 3ac1da338bea2f50c24f3c0cc54881e2b432e379 (patch) | |
tree | 8a0e4ceeeb2f7b8a798bea94f43e7ed1e4af1596 /arch/sparc64 | |
parent | 5bbdb48d4c90f860861036978618ee1c7cec9d38 (diff) |
[SPARC64]: Fix sparse warnings wrt. __show_regs().
arch/sparc64/kernel/process.c:219:6: warning: symbol '__show_regs' was not declared. Should it be static?
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64')
-rw-r--r-- | arch/sparc64/kernel/kprobes.c | 2 | ||||
-rw-r--r-- | arch/sparc64/kernel/traps.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/arch/sparc64/kernel/kprobes.c b/arch/sparc64/kernel/kprobes.c index 34fc3ddd5002..f43b5d755354 100644 --- a/arch/sparc64/kernel/kprobes.c +++ b/arch/sparc64/kernel/kprobes.c | |||
@@ -465,8 +465,6 @@ void __kprobes jprobe_return(void) | |||
465 | 465 | ||
466 | extern void jprobe_return_trap_instruction(void); | 466 | extern void jprobe_return_trap_instruction(void); |
467 | 467 | ||
468 | extern void __show_regs(struct pt_regs * regs); | ||
469 | |||
470 | int __kprobes longjmp_break_handler(struct kprobe *p, struct pt_regs *regs) | 468 | int __kprobes longjmp_break_handler(struct kprobe *p, struct pt_regs *regs) |
471 | { | 469 | { |
472 | u32 *addr = (u32 *) regs->tpc; | 470 | u32 *addr = (u32 *) regs->tpc; |
diff --git a/arch/sparc64/kernel/traps.c b/arch/sparc64/kernel/traps.c index 2b6abf633343..007f5317c0de 100644 --- a/arch/sparc64/kernel/traps.c +++ b/arch/sparc64/kernel/traps.c | |||
@@ -1791,8 +1791,6 @@ static const char *sun4v_err_type_to_str(u32 type) | |||
1791 | }; | 1791 | }; |
1792 | } | 1792 | } |
1793 | 1793 | ||
1794 | extern void __show_regs(struct pt_regs * regs); | ||
1795 | |||
1796 | static void sun4v_log_error(struct pt_regs *regs, struct sun4v_error_entry *ent, int cpu, const char *pfx, atomic_t *ocnt) | 1794 | static void sun4v_log_error(struct pt_regs *regs, struct sun4v_error_entry *ent, int cpu, const char *pfx, atomic_t *ocnt) |
1797 | { | 1795 | { |
1798 | int cnt; | 1796 | int cnt; |