summaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-04-25 05:59:09 +0200
committerPaul Mundt <lethal@linux-sh.org>2008-05-08 12:51:37 +0200
commit824fcdded0591b879dc0d5c1873c168ca4bf6fae (patch)
tree68adcc5ed1357cf7a683263387a6ba52ca89a21a /arch/sh
parentsh64: Fixup the nommu build. (diff)
downloadlinux-824fcdded0591b879dc0d5c1873c168ca4bf6fae.tar.xz
linux-824fcdded0591b879dc0d5c1873c168ca4bf6fae.zip
sh64: Fix up compile warning in event tracer.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-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",