diff options
author | Scott Long <scottl@FreeBSD.org> | 2004-09-02 18:59:15 +0000 |
---|---|---|
committer | Scott Long <scottl@FreeBSD.org> | 2004-09-02 18:59:15 +0000 |
commit | 9923b511ed09f7e9aff331c1de463c09bf9af55e (patch) | |
tree | 43dc4fd34e2a35dcd08857f52e9ae89c2dda740f /sys/kern/kern_mutex.c | |
parent | 44af2aa0015b79f53bba489941965e393b44451d (diff) | |
download | src-9923b511ed09f7e9aff331c1de463c09bf9af55e.tar.gz src-9923b511ed09f7e9aff331c1de463c09bf9af55e.zip |
Turn PREEMPTION into a kernel option. Make sure that it's defined if
FULL_PREEMPTION is defined. Add a runtime warning to ULE if PREEMPTION is
enabled (code inspired by the PREEMPTION warning in kern_switch.c). This
is a possible MT5 candidate.
Notes
Notes:
svn path=/head/; revision=134649
Diffstat (limited to 'sys/kern/kern_mutex.c')
-rw-r--r-- | sys/kern/kern_mutex.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_mutex.c b/sys/kern/kern_mutex.c index c041886663ea..eb345bff2d3f 100644 --- a/sys/kern/kern_mutex.c +++ b/sys/kern/kern_mutex.c @@ -40,6 +40,7 @@ __FBSDID("$FreeBSD$"); #include "opt_ddb.h" #include "opt_mprof.h" #include "opt_mutex_wake_all.h" +#include "opt_sched.h" #include <sys/param.h> #include <sys/systm.h> |