summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/hp300/hp300/vm_machdep.c3
-rw-r--r--sys/arch/mac68k/mac68k/vm_machdep.c3
-rw-r--r--sys/arch/mvme68k/mvme68k/vm_machdep.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/sys/arch/hp300/hp300/vm_machdep.c b/sys/arch/hp300/hp300/vm_machdep.c
index 5a788973cd8..e17f3e3be58 100644
--- a/sys/arch/hp300/hp300/vm_machdep.c
+++ b/sys/arch/hp300/hp300/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.41 2006/06/24 13:20:17 miod Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.42 2007/03/13 19:38:19 miod Exp $ */
/* $NetBSD: vm_machdep.c,v 1.60 2001/07/06 05:53:35 chs Exp $ */
/*
@@ -120,6 +120,7 @@ cpu_fork(p1, p2, stack, stacksize, func, arg)
pcb->pcb_regs[6] = (int)func; /* A2 */
pcb->pcb_regs[7] = (int)arg; /* A3 */
pcb->pcb_regs[11] = (int)sf; /* SSP */
+ pcb->pcb_ps = PSL_LOWIPL; /* start kthreads at IPL 0 */
}
/*
diff --git a/sys/arch/mac68k/mac68k/vm_machdep.c b/sys/arch/mac68k/mac68k/vm_machdep.c
index f4421428e43..0417139e6b6 100644
--- a/sys/arch/mac68k/mac68k/vm_machdep.c
+++ b/sys/arch/mac68k/mac68k/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.37 2006/06/24 13:24:21 miod Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.38 2007/03/13 19:38:23 miod Exp $ */
/* $NetBSD: vm_machdep.c,v 1.29 1998/07/28 18:34:55 thorpej Exp $ */
/*
@@ -114,6 +114,7 @@ cpu_fork(p1, p2, stack, stacksize, func, arg)
pcb->pcb_regs[6] = (int)func; /* A2 */
pcb->pcb_regs[7] = (int)arg; /* A3 */
pcb->pcb_regs[11] = (int)sf; /* SSP */
+ pcb->pcb_ps = PSL_LOWIPL; /* start kthreads at IPL 0 */
}
/*
diff --git a/sys/arch/mvme68k/mvme68k/vm_machdep.c b/sys/arch/mvme68k/mvme68k/vm_machdep.c
index b482555b13d..140a5229e67 100644
--- a/sys/arch/mvme68k/mvme68k/vm_machdep.c
+++ b/sys/arch/mvme68k/mvme68k/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.42 2006/06/24 14:04:04 miod Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.43 2007/03/13 19:38:23 miod Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -112,6 +112,7 @@ cpu_fork(p1, p2, stack, stacksize, func, arg)
pcb->pcb_regs[6] = (int)func; /* A2 */
pcb->pcb_regs[7] = (int)arg; /* A3 */
pcb->pcb_regs[11] = (int)sf; /* SSP */
+ pcb->pcb_ps = PSL_LOWIPL; /* start kthreads at IPL 0 */
}
/*