diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-10-17 21:39:45 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-10-17 21:39:45 +0000 |
commit | a8107bd06c6059ed5241aa6faf033e2b53e435c9 (patch) | |
tree | 7f9e3b73f5302acc84791e52a80d11f999ac1069 /sys/arch/sparc64 | |
parent | 98b9b35e0a5a9f08942e8487ddd9651bfbe212a6 (diff) |
Use ldx (instead of ld) to load a pointer.
ok deraadt@
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r-- | sys/arch/sparc64/sparc64/locore.s | 4 |
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 /* |