[PATCH] powerpc: Print instruction when logging unhandled exceptions

2014-09-24 Thread Anton Blanchard
It is often useful to see the instruction that caused an unhandled exception. Signed-off-by: Anton Blanchard an...@samba.org --- arch/powerpc/kernel/traps.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/kernel/traps.c

[PATCH] powerpc: Print instruction when logging unhandled exceptions

2013-06-06 Thread Anton Blanchard
It is often useful to see the instruction that caused an unhandled exception. Signed-off-by: Anton Blanchard an...@samba.org --- We print all ones if the get_user fails, do we want to go to the added effort of printing like we do in the oops code? Index: b/arch/powerpc/kernel/traps.c