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 Don't use rwindow_save() since the ...



details:   https://anonhg.NetBSD.org/src/rev/260cec71b83c
branches:  trunk
changeset: 500417:260cec71b83c
user:      eeh <eeh%NetBSD.org@localhost>
date:      Mon Dec 11 18:51:55 2000 +0000

description:
Don't use rwindow_save() since the stack has already been made COW.

diffstat:

 sys/arch/sparc64/sparc64/vm_machdep.c |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r da81276ba0a3 -r 260cec71b83c sys/arch/sparc64/sparc64/vm_machdep.c
--- a/sys/arch/sparc64/sparc64/vm_machdep.c     Mon Dec 11 18:19:12 2000 +0000
+++ b/sys/arch/sparc64/sparc64/vm_machdep.c     Mon Dec 11 18:51:55 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm_machdep.c,v 1.34 2000/12/07 00:53:29 eeh Exp $ */
+/*     $NetBSD: vm_machdep.c,v 1.35 2000/12/11 18:51:55 eeh Exp $ */
 #define DEBUG
 
 /*
@@ -252,7 +252,6 @@
 #endif
        if (p1 == curproc) {
                write_user_windows();
-               rwindow_save(p1);
 
                /*
                 * We're in the kernel, so we don't really care about
@@ -268,7 +267,6 @@
 #ifdef DEBUG
        /* prevent us from having NULL lastcall */
        opcb->lastcall = cpu_forkname;
-       if (opcb->pcb_nsaved) printf("cpu_fork: nsaved %d\n", opcb->pcb_nsaved);
 #else
        opcb->lastcall = NULL;
 #endif



Home | Main Index | Thread Index | Old Index