From 6222ded017d40005c7948c6e2832bc69660d62c9 Mon Sep 17 00:00:00 2001 From: Julian Elischer Date: Wed, 1 Sep 2004 18:29:57 +0000 Subject: [PATCH] Don't ask for this for modules. no modules need to know about preemption at the moment --- sys/i386/include/param.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/i386/include/param.h b/sys/i386/include/param.h index 1c4b41a7bf75..5d67e7367ef5 100644 --- a/sys/i386/include/param.h +++ b/sys/i386/include/param.h @@ -98,7 +98,7 @@ #define PDRMASK (NBPDR-1) /* PREEMPTION exposes scheduler bugs that need to be fixed. */ -#ifdef _KERNEL +#if defined(_KERNEL) && !defined(KLD_MODULE) #include "opt_sched.h" #ifdef SCHED_4BSD #define PREEMPTION