Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/arch/macppc/macppc Apply patch, revision 1.2 from p...



details:   https://anonhg.NetBSD.org/src/rev/5db047abf452
branches:  netbsd-1-5
changeset: 490951:5db047abf452
user:      he <he%NetBSD.org@localhost>
date:      Thu Mar 22 02:37:02 2001 +0000

description:
Apply patch, revision 1.2 from powerpc/locore_subr.S (requested by tsubai):
  Fix a bug in cpu_switch().

diffstat:

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

diffs (25 lines):

diff -r 1f0ff2cd28e6 -r 5db047abf452 sys/arch/macppc/macppc/locore.S
--- a/sys/arch/macppc/macppc/locore.S   Thu Mar 22 02:32:01 2001 +0000
+++ b/sys/arch/macppc/macppc/locore.S   Thu Mar 22 02:37:02 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.S,v 1.24 2000/05/31 05:09:17 thorpej Exp $      */
+/*     $NetBSD: locore.S,v 1.24.2.1 2001/03/22 02:37:02 he Exp $       */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -446,6 +446,7 @@
        /* record new process */
        lis     4,_C_LABEL(curproc)@ha
        stw     31,_C_LABEL(curproc)@l(4)
+       lwz     4,P_ADDR(31)
 
        mfmsr   3
        ori     3,3,PSL_EE@l            /* Now we can interrupt again */
@@ -472,7 +473,6 @@
        mtmsr   3
 
        /* indicate new pcb */
-       lwz     4,P_ADDR(31)
        lis     5,_C_LABEL(curpcb)@ha
        stw     4,_C_LABEL(curpcb)@l(5)
 



Home | Main Index | Thread Index | Old Index