Source-Changes-HG archive

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

[src/nathanw_sa]: src/sys/arch/m68k/m68k Lost cpu_proc_fork() for hp300 durin...



details:   https://anonhg.NetBSD.org/src/rev/0d5e2562d040
branches:  nathanw_sa
changeset: 506519:0d5e2562d040
user:      gmcgarry <gmcgarry%NetBSD.org@localhost>
date:      Tue Dec 03 19:44:17 2002 +0000

description:
Lost cpu_proc_fork() for hp300 during merge from current.
It comes back and all m68k ports will use it.

diffstat:

 sys/arch/m68k/m68k/vm_machdep.c |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (33 lines):

diff -r 6aebeb507b8f -r 0d5e2562d040 sys/arch/m68k/m68k/vm_machdep.c
--- a/sys/arch/m68k/m68k/vm_machdep.c   Tue Dec 03 15:49:06 2002 +0000
+++ b/sys/arch/m68k/m68k/vm_machdep.c   Tue Dec 03 19:44:17 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm_machdep.c,v 1.1.2.3 2002/11/13 15:35:37 skrll Exp $ */
+/*     $NetBSD: vm_machdep.c,v 1.1.2.4 2002/12/03 19:44:17 gmcgarry Exp $      */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -43,7 +43,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.1.2.3 2002/11/13 15:35:37 skrll Exp $");                                                  
+__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.1.2.4 2002/12/03 19:44:17 gmcgarry Exp $");                                                  
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -62,6 +62,14 @@
 
 #include <uvm/uvm_extern.h>
 
+void
+cpu_proc_fork(p1, p2)
+       struct proc *p1, *p2;
+{
+
+       p2->p_md.mdp_flags = p1->p_md.mdp_flags;
+}
+
 /*
  * Finish a fork operation, with process l2 nearly set up.
  * Copy and update the pcb and trap frame, making the child ready to run.



Home | Main Index | Thread Index | Old Index