Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42008
b: refs/heads/master
c: 329237c
h: refs/heads/master
v: v3
  • Loading branch information
Greg Ungerer authored and Linus Torvalds committed Dec 4, 2006
1 parent fc35c72 commit 94cf1ff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 19127e2bf94e7b427530b64af417185221b69508
refs/heads/master: 329237c12b94911dfad128e2588b0b7ae9c516e7
13 changes: 7 additions & 6 deletions trunk/arch/m68knommu/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,12 @@ void show_stack(struct task_struct *task, unsigned long *stack)
if (stack + 1 > endstack)
break;
if (i % 8 == 0)
printk(KERN_EMERG "\n ");
printk(KERN_EMERG " %08lx", *stack++);
printk("\n" KERN_EMERG " ");
printk(" %08lx", *stack++);
}
printk("\n");

printk(KERN_EMERG "\nCall Trace:");
printk(KERN_EMERG "Call Trace:");
i = 0;
while (stack + 1 <= endstack) {
addr = *stack++;
Expand All @@ -146,12 +147,12 @@ void show_stack(struct task_struct *task, unsigned long *stack)
if (((addr >= (unsigned long) &_start) &&
(addr <= (unsigned long) &_etext))) {
if (i % 4 == 0)
printk(KERN_EMERG "\n ");
printk(KERN_EMERG " [<%08lx>]", addr);
printk("\n" KERN_EMERG " ");
printk(" [<%08lx>]", addr);
i++;
}
}
printk(KERN_EMERG "\n");
printk("\n");
}

void bad_super_trap(struct frame *fp)
Expand Down

0 comments on commit 94cf1ff

Please sign in to comment.