summaryrefslogtreecommitdiffstats
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2015-05-18 04:07:26 +0000
committermiod <miod@openbsd.org>2015-05-18 04:07:26 +0000
commit2da30a36da14f5172bd3d8b6064c6d610dc1bad7 (patch)
tree48da0a4d5ab65cfcb1ce7990b1840a2923c9067d /sys/kern/init_main.c
parentMove the logic deciding whether to grab the kernel lock or not, deeper in the (diff)
downloadwireguard-openbsd-2da30a36da14f5172bd3d8b6064c6d610dc1bad7.tar.xz
wireguard-openbsd-2da30a36da14f5172bd3d8b6064c6d610dc1bad7.zip
Reenable the page zeroing thread on MP m88k kernels.
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r--sys/kern/init_main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 6c71f382e93..a948f38017a 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init_main.c,v 1.239 2015/05/05 02:13:46 guenther Exp $ */
+/* $OpenBSD: init_main.c,v 1.240 2015/05/18 04:07:26 miod Exp $ */
/* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */
/*
@@ -525,8 +525,7 @@ main(void *framep)
if (kthread_create(uvm_aiodone_daemon, NULL, NULL, "aiodoned"))
panic("fork aiodoned");
-#if !defined(__hppa__) && \
- !(defined(__m88k__) && defined(MULTIPROCESSOR))
+#if !defined(__hppa__)
/* Create the page zeroing kernel thread. */
if (kthread_create(uvm_pagezero_thread, NULL, NULL, "zerothread"))
panic("fork zerothread");