Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67412
b: refs/heads/master
c: 0de2d82
h: refs/heads/master
v: v3
  • Loading branch information
Scott Wood authored and Paul Mackerras committed Oct 3, 2007
1 parent 1351c30 commit 49c6450
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3eb523b939d59fd90518188750c26df5d357478f
refs/heads/master: 0de2d820067e03ca93f6bf5320d362d5262fb7a3
8 changes: 8 additions & 0 deletions trunk/arch/powerpc/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,14 @@ static void show_instructions(struct pt_regs *regs)
if (!(i % 8))
printk("\n");

#if !defined(CONFIG_BOOKE)
/* If executing with the IMMU off, adjust pc rather
* than print XXXXXXXX.
*/
if (!(regs->msr & MSR_IR))
pc = (unsigned long)phys_to_virt(pc);
#endif

/* We use __get_user here *only* to avoid an OOPS on a
* bad address because the pc *should* only be a
* kernel address.
Expand Down

0 comments on commit 49c6450

Please sign in to comment.