Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc64/sparc64 Shift the UPAID in the correct dire...



details:   https://anonhg.NetBSD.org/src/rev/038817dfc128
branches:  trunk
changeset: 521357:038817dfc128
user:      eeh <eeh%NetBSD.org@localhost>
date:      Tue Jan 29 01:15:50 2002 +0000

description:
Shift the UPAID in the correct direction.

diffstat:

 sys/arch/sparc64/sparc64/locore.s |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 6aa4ee001a88 -r 038817dfc128 sys/arch/sparc64/sparc64/locore.s
--- a/sys/arch/sparc64/sparc64/locore.s Tue Jan 29 01:13:18 2002 +0000
+++ b/sys/arch/sparc64/sparc64/locore.s Tue Jan 29 01:15:50 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.s,v 1.144 2002/01/17 22:23:47 eeh Exp $ */
+/*     $NetBSD: locore.s,v 1.145 2002/01/29 01:15:50 eeh Exp $ */
 
 /*
  * Copyright (c) 1996-2001 Eduardo Horvath
@@ -5733,7 +5733,7 @@
        sethi   %hi(_C_LABEL(cpus)), %l1
        ldxa    [%g0] ASI_MID_REG, %l2
        LDPTR   [%l1 + %lo(_C_LABEL(cpus))], %l1
-       sllx    %l2, 17, %l2                    ! Isolate UPAID from CPU reg
+       srax    %l2, 17, %l2                    ! Isolate UPAID from CPU reg
        and     %l2, 0x1f, %l2
 0:
        ld      [%l1 + CI_UPAID], %l3           ! Load UPAID



Home | Main Index | Thread Index | Old Index