diff options
author | Scott Wood <scottwood@freescale.com> | 2007-09-27 18:38:55 (GMT) |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-10-03 01:48:44 (GMT) |
commit | 0de2d820067e03ca93f6bf5320d362d5262fb7a3 (patch) | |
tree | 5f03f6c0bd4c040d436ad42cf6ccc2f24cba32c2 /block | |
parent | 3eb523b939d59fd90518188750c26df5d357478f (diff) | |
download | linux-0de2d820067e03ca93f6bf5320d362d5262fb7a3.tar.xz |
[POWERPC] Make instruction dumping work in real mode
On non-book-E, exceptions execute in real mode. If a fault happens
that leads to a register dump, the kernel currently prints XXXXXXXX
because it doesn't realize that PC is a physical address.
This patch checks whether instruction address translation is turned
on, and if not converts PC into a virtual address.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions