summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2007-01-21 23:01:45 +0000
committerkettenis <kettenis@openbsd.org>2007-01-21 23:01:45 +0000
commiteabf5b52f01de02fd13a4c6fa39c1ecadc479f15 (patch)
tree185abf847eef45288707500b92fdf818dfcf4d34 /sys
parentUse MII_ANEGTICKS_GIGE instead of MII_ANEGTICKS. (diff)
downloadwireguard-openbsd-eabf5b52f01de02fd13a4c6fa39c1ecadc479f15.tar.xz
wireguard-openbsd-eabf5b52f01de02fd13a4c6fa39c1ecadc479f15.zip
Use addic. %r31,%r31,1 instead of addic. %r31,%r31,%r1.
Diffstat (limited to 'sys')
-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 */