diff options
author | David S. Miller <davem@davemloft.net> | 2008-02-20 00:18:08 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-20 00:18:08 -0500 |
commit | 02947ecb0de7a011215568263fd48f3d5b0f8573 (patch) | |
tree | 317eec70cd47a9e4f9c1a1fd2452fc45407b6497 /arch | |
parent | 3ac1da338bea2f50c24f3c0cc54881e2b432e379 (diff) |
[SPARC64]: Kill show_regs32().
Unused, noticed via sparse.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sparc64/kernel/process.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/sparc64/kernel/process.c b/arch/sparc64/kernel/process.c index 548af5d1f2c4..6c00f1e5c92e 100644 --- a/arch/sparc64/kernel/process.c +++ b/arch/sparc64/kernel/process.c | |||
@@ -299,24 +299,6 @@ void show_regs(struct pt_regs *regs) | |||
299 | #endif | 299 | #endif |
300 | } | 300 | } |
301 | 301 | ||
302 | void show_regs32(struct pt_regs32 *regs) | ||
303 | { | ||
304 | printk("PSR: %08x PC: %08x NPC: %08x Y: %08x %s\n", regs->psr, | ||
305 | regs->pc, regs->npc, regs->y, print_tainted()); | ||
306 | printk("g0: %08x g1: %08x g2: %08x g3: %08x ", | ||
307 | regs->u_regs[0], regs->u_regs[1], regs->u_regs[2], | ||
308 | regs->u_regs[3]); | ||
309 | printk("g4: %08x g5: %08x g6: %08x g7: %08x\n", | ||
310 | regs->u_regs[4], regs->u_regs[5], regs->u_regs[6], | ||
311 | regs->u_regs[7]); | ||
312 | printk("o0: %08x o1: %08x o2: %08x o3: %08x ", | ||
313 | regs->u_regs[8], regs->u_regs[9], regs->u_regs[10], | ||
314 | regs->u_regs[11]); | ||
315 | printk("o4: %08x o5: %08x sp: %08x ret_pc: %08x\n", | ||
316 | regs->u_regs[12], regs->u_regs[13], regs->u_regs[14], | ||
317 | regs->u_regs[15]); | ||
318 | } | ||
319 | |||
320 | unsigned long thread_saved_pc(struct task_struct *tsk) | 302 | unsigned long thread_saved_pc(struct task_struct *tsk) |
321 | { | 303 | { |
322 | struct thread_info *ti = task_thread_info(tsk); | 304 | struct thread_info *ti = task_thread_info(tsk); |