From 2beffb4328e5817dd82d52521825df4e67eeaf00 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 21 Jan 2007 23:01:46 +0000 Subject: Use addic. %r31,%r31,1 instead of addic. %r31,%r31,%r1. --- sys/arch/macppc/macppc/locore.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/macppc/macppc/locore.S b/sys/arch/macppc/macppc/locore.S index 5028cfc6ff8..050b114ea2d 100644 --- a/sys/arch/macppc/macppc/locore.S +++ b/sys/arch/macppc/macppc/locore.S @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.S,v 1.30 2007/01/17 20:43:39 gwk Exp $ */ +/* $OpenBSD: locore.S,v 1.31 2007/01/21 23:01:45 kettenis Exp $ */ /* $NetBSD: locore.S,v 1.2 1996/10/16 19:33:09 ws Exp $ */ /* @@ -492,7 +492,7 @@ nop32_5e: lis %r1,intstk+INTSTK@ha /* get interrupt stack */ addi %r1,%r1,intstk+INTSTK@l lwz %r31,0(%r1) /* were we already running on intstk? */ - addic. %r31,%r31,%r1 + addic. %r31,%r31,1 stw %r31,0(%r1) beq 1f mfsprg %r1,1 /* yes, get old SP */ @@ -520,7 +520,7 @@ nop32_6e: lis %r1,intstk+INTSTK@ha /* get interrupt stack */ addi %r1,%r1,intstk+INTSTK@l lwz %r31,0(%r1) /* were we already running on intstk? */ - addic. %r31,%r31,%r1 + addic. %r31,%r31,1 stw %r31,0(%r1) beq 1f mfsprg %r1,1 /* yes, get old SP */ -- cgit v1.2.3