diff mbox

Kernel unaligned access at TPC[10101f18] btrfs_csum_final+0x38/0x60

Message ID 20100205.120151.128582331.davem@davemloft.net (mailing list archive)
State New, archived
Headers show

Commit Message

David Miller Feb. 5, 2010, 8:01 p.m. UTC
None
diff mbox

Patch

diff --git a/arch/sparc/kernel/unaligned_64.c b/arch/sparc/kernel/unaligned_64.c
index 378ca82..cbde2ea 100644
--- a/arch/sparc/kernel/unaligned_64.c
+++ b/arch/sparc/kernel/unaligned_64.c
@@ -283,6 +283,9 @@  static void log_unaligned(struct pt_regs *regs)
 		count++;
 		printk("Kernel unaligned access at TPC[%lx] %pS\n",
 		       regs->tpc, (void *) regs->tpc);
+		printk("Caller [%lx:%pS]\n",
+		       regs->u_regs[UREG_RETPC],
+		       (void *) regs->u_regs[UREG_RETPC]);
 	}
 }