summaryrefslogtreecommitdiffstats
path: root/sys/i386/include
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2004-09-01 09:01:32 +0000
committerjulian <julian@FreeBSD.org>2004-09-01 09:01:32 +0000
commit5a545bc8bcb7c1a43befce67d1c42c9a1c257f35 (patch)
treed8972b92c6089b3990db1251c99291f0f7c797b0 /sys/i386/include
parent684e3778914da5afd41a4264dc874f60b2d0d1f5 (diff)
downloadFreeBSD-src-5a545bc8bcb7c1a43befce67d1c42c9a1c257f35.zip
FreeBSD-src-5a545bc8bcb7c1a43befce67d1c42c9a1c257f35.tar.gz
Only turn preemption for 4bsd.
it's still poison for ULE.
Diffstat (limited to 'sys/i386/include')
-rw-r--r--sys/i386/include/param.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/i386/include/param.h b/sys/i386/include/param.h
index 90541bf..7f84e2a 100644
--- a/sys/i386/include/param.h
+++ b/sys/i386/include/param.h
@@ -98,7 +98,10 @@
#define PDRMASK (NBPDR-1)
/* PREEMPTION exposes scheduler bugs that need to be fixed. */
+#include "opt_sched.h"
+#ifdef SCHED_4BSD
#define PREEMPTION
+#endif
#define IOPAGES 2 /* pages of i/o permission bitmap */
OpenPOWER on IntegriCloud