Source-Changes-HG archive

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

[src/trunk]: src/sys/lib/libkern/arch/powerpc cpu_info is not in spr0, but sp...



details:   https://anonhg.NetBSD.org/src/rev/7abfed9c5e22
branches:  trunk
changeset: 534592:7abfed9c5e22
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Jul 30 06:10:46 2002 +0000

description:
cpu_info is not in spr0, but spr_g_0.

diffstat:

 sys/lib/libkern/arch/powerpc/bzero.S |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r d598c14a44f0 -r 7abfed9c5e22 sys/lib/libkern/arch/powerpc/bzero.S
--- a/sys/lib/libkern/arch/powerpc/bzero.S      Tue Jul 30 06:09:56 2002 +0000
+++ b/sys/lib/libkern/arch/powerpc/bzero.S      Tue Jul 30 06:10:46 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bzero.S,v 1.3 2002/03/13 00:59:29 eeh Exp $ */
+/*     $NetBSD: bzero.S,v 1.4 2002/07/30 06:10:46 matt Exp $ */
 
 /*-
  * Copyright (C) 2001  Martin J. Laubach <mjl%netbsd.org@localhost>
@@ -198,7 +198,7 @@
 
 #else /* _KERNEL */
 #ifdef MULTIPROCESSOR
-               mfspr   r10, 0                  /* Get cpu_info pointer */
+               mfsprg  r10, 0                  /* Get cpu_info pointer */
 #else
                lis     r10, cpu_info_store@ha
                addi    r10, r10, cpu_info_store@l



Home | Main Index | Thread Index | Old Index