From patchwork Fri Feb 5 20:01:51 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Miller X-Patchwork-Id: 77393 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o15K1d3r002025 for ; Fri, 5 Feb 2010 20:01:39 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932236Ab0BEUBi (ORCPT ); Fri, 5 Feb 2010 15:01:38 -0500 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:42207 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932429Ab0BEUBh (ORCPT ); Fri, 5 Feb 2010 15:01:37 -0500 Received: from localhost (localhost [127.0.0.1]) by sunset.davemloft.net (Postfix) with ESMTP id 5939524C111; Fri, 5 Feb 2010 12:01:51 -0800 (PST) Date: Fri, 05 Feb 2010 12:01:51 -0800 (PST) Message-Id: <20100205.120151.128582331.davem@davemloft.net> To: lists@nerdbynature.de Cc: linux-btrfs@vger.kernel.org Subject: Re: Kernel unaligned access at TPC[10101f18] btrfs_csum_final+0x38/0x60 From: David Miller In-Reply-To: References: X-Mailer: Mew version 6.3 on Emacs 23.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Fri, 05 Feb 2010 20:01:39 +0000 (UTC) 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]); } }