summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2007-10-17 21:39:45 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2007-10-17 21:39:45 +0000
commita8107bd06c6059ed5241aa6faf033e2b53e435c9 (patch)
tree7f9e3b73f5302acc84791e52a80d11f999ac1069 /sys
parent98b9b35e0a5a9f08942e8487ddd9651bfbe212a6 (diff)
Use ldx (instead of ld) to load a pointer.
ok deraadt@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc64/sparc64/locore.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/sparc64/locore.s b/sys/arch/sparc64/sparc64/locore.s
index ee803afdd3b..557de8fd50a 100644
--- a/sys/arch/sparc64/sparc64/locore.s
+++ b/sys/arch/sparc64/sparc64/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.90 2007/10/17 21:30:08 kettenis Exp $ */
+/* $OpenBSD: locore.s,v 1.91 2007/10/17 21:39:44 kettenis Exp $ */
/* $NetBSD: locore.s,v 1.137 2001/08/13 06:10:10 jdolecek Exp $ */
/*
@@ -4463,7 +4463,7 @@ dlflush2:
ld [%l1 + CI_UPAID], %l3 ! Load UPAID
cmp %l3, %l2 ! Does it match?
bne,a,pt %icc, 0b ! no
- ld [%l1 + CI_NEXT], %l1 ! Load next cpu_info pointer
+ ldx [%l1 + CI_NEXT], %l1 ! Load next cpu_info pointer
/*