Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 97705
b: refs/heads/master
c: 10220c8
h: refs/heads/master
i:
  97703: 03cd32e
v: v3
  • Loading branch information
Thomas Bogendoerfer authored and Ralf Baechle committed Jun 5, 2008
1 parent 837fded commit 760419f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 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: 057229f9efc7ebebd3ce0496195ed46df631f383
refs/heads/master: 10220c884444a1866bb070e207d84fc18188e2a7
16 changes: 9 additions & 7 deletions trunk/arch/mips/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,17 @@ static void show_raw_backtrace(unsigned long reg29)
#ifdef CONFIG_KALLSYMS
printk("\n");
#endif
#define IS_KVA01(a) ((((unsigned int)a) & 0xc0000000) == 0x80000000)
if (IS_KVA01(sp)) {
while (!kstack_end(sp)) {
addr = *sp++;
if (__kernel_text_address(addr))
print_ip_sym(addr);
while (!kstack_end(sp)) {
unsigned long __user *p =
(unsigned long __user *)(unsigned long)sp++;
if (__get_user(addr, p)) {
printk(" (Bad stack address)");
break;
}
printk("\n");
if (__kernel_text_address(addr))
print_ip_sym(addr);
}
printk("\n");
}

#ifdef CONFIG_KALLSYMS
Expand Down

0 comments on commit 760419f

Please sign in to comment.