From owner-svn-src-all@FreeBSD.ORG Fri Feb 27 12:18:17 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5DCA106564A; Fri, 27 Feb 2009 12:18:17 +0000 (UTC) (envelope-from raj@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B48C58FC0A; Fri, 27 Feb 2009 12:18:17 +0000 (UTC) (envelope-from raj@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n1RCIHp2070127; Fri, 27 Feb 2009 12:18:17 GMT (envelope-from raj@svn.freebsd.org) Received: (from raj@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n1RCIHW4070126; Fri, 27 Feb 2009 12:18:17 GMT (envelope-from raj@svn.freebsd.org) Message-Id: <200902271218.n1RCIHW4070126@svn.freebsd.org> From: Rafal Jaworowski Date: Fri, 27 Feb 2009 12:18:17 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r189101 - head/sys/powerpc/booke X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2009 12:18:18 -0000 Author: raj Date: Fri Feb 27 12:18:17 2009 New Revision: 189101 URL: http://svn.freebsd.org/changeset/base/189101 Log: Prefer register usage style to be more consistent with the rest of the trap_subr.S code. Modified: head/sys/powerpc/booke/trap_subr.S Modified: head/sys/powerpc/booke/trap_subr.S ============================================================================== --- head/sys/powerpc/booke/trap_subr.S Fri Feb 27 12:08:24 2009 (r189100) +++ head/sys/powerpc/booke/trap_subr.S Fri Feb 27 12:18:17 2009 (r189101) @@ -198,23 +198,23 @@ /* save DEAR, ESR */ \ lwz %r28, (savearea+CPUSAVE_BOOKE_DEAR)(%r2); \ lwz %r29, (savearea+CPUSAVE_BOOKE_ESR)(%r2); \ - stw %r28, FRAME_BOOKE_DEAR+8(1); \ - stw %r29, FRAME_BOOKE_ESR+8(1); \ + stw %r28, FRAME_BOOKE_DEAR+8(%r1); \ + stw %r29, FRAME_BOOKE_ESR+8(%r1); \ /* save XER, CTR, exc number */ \ mfxer %r3; \ mfctr %r4; \ - stw %r3, FRAME_XER+8(1); \ - stw %r4, FRAME_CTR+8(1); \ + stw %r3, FRAME_XER+8(%r1); \ + stw %r4, FRAME_CTR+8(%r1); \ li %r5, exc; \ - stw %r5, FRAME_EXC+8(1); \ + stw %r5, FRAME_EXC+8(%r1); \ /* save DBCR0 */ \ mfspr %r3, SPR_DBCR0; \ - stw %r3, FRAME_BOOKE_DBCR0+8(1); \ + stw %r3, FRAME_BOOKE_DBCR0+8(%r1); \ /* save xSSR0-1 */ \ lwz %r30, (savearea+CPUSAVE_SRR0)(%r2); \ lwz %r31, (savearea+CPUSAVE_SRR1)(%r2); \ - stw %r30, FRAME_SRR0+8(1); \ - stw %r31, FRAME_SRR1+8(1) + stw %r30, FRAME_SRR0+8(%r1); \ + stw %r31, FRAME_SRR1+8(%r1) /* *