summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2007-01-21 23:01:46 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2007-01-21 23:01:46 +0000
commit2beffb4328e5817dd82d52521825df4e67eeaf00 (patch)
treeb9fceb0c7cc8300f8fa9d9484d69de6ad1f9b7f7
parent60071449772c4d82d511fbc24253f5ca56af72b0 (diff)
Use addic. %r31,%r31,1 instead of addic. %r31,%r31,%r1.
-rw-r--r--sys/arch/macppc/macppc/locore.S6
1 files 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 */