summaryrefslogtreecommitdiff
path: root/arch/sh/lib64
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-04-25 07:59:09 +0400
committerPaul Mundt <lethal@linux-sh.org>2008-05-08 14:51:37 +0400
commit824fcdded0591b879dc0d5c1873c168ca4bf6fae (patch)
tree68adcc5ed1357cf7a683263387a6ba52ca89a21a /arch/sh/lib64
parentccd805874198c248498b5f269656ec14397eeede (diff)
downloadlinux-824fcdded0591b879dc0d5c1873c168ca4bf6fae.tar.xz
sh64: Fix up compile warning in event tracer.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/lib64')
-rw-r--r--arch/sh/lib64/dbg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/lib64/dbg.c b/arch/sh/lib64/dbg.c
index 75825ef6e084..2fb8eaf6de60 100644
--- a/arch/sh/lib64/dbg.c
+++ b/arch/sh/lib64/dbg.c
@@ -186,8 +186,8 @@ void evt_debug(int evt, int ret_addr, int event, int tra, struct pt_regs *regs)
rr->pc = regs->pc;
if (sp < stack_bottom + 3092) {
- printk("evt_debug : stack underflow report\n");
int i, j;
+ printk("evt_debug : stack underflow report\n");
for (j=0, i = event_ptr; j<16; j++) {
rr = event_ring + i;
printk("evt=%08x event=%08x tra=%08x pid=%5d sp=%08lx pc=%08lx\n",