diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-08-15 20:32:40 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-08-15 20:32:40 +0000 |
commit | 6f9a1cc98b053f8dab5f4607e60e777d2331ac15 (patch) | |
tree | 1dd13a5ef8ce483d30257e29339df752708165cc /sys/i386 | |
parent | 88969e81e2ef4007dc9ba176336c705f0a1bea8d (diff) | |
download | FreeBSD-src-6f9a1cc98b053f8dab5f4607e60e777d2331ac15.zip FreeBSD-src-6f9a1cc98b053f8dab5f4607e60e777d2331ac15.tar.gz |
Preemptive anti-footshooting: cause a #error if MP_WATCHDOG is compiled
with SCHED_ULE.
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/i386/mp_watchdog.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/i386/i386/mp_watchdog.c b/sys/i386/i386/mp_watchdog.c index cf41577..b3b5d9e 100644 --- a/sys/i386/i386/mp_watchdog.c +++ b/sys/i386/i386/mp_watchdog.c @@ -27,6 +27,11 @@ */ #include "opt_mp_watchdog.h" +#include "opt_sched.h" + +#ifdef SCHED_ULE +#error MP_WATCHDOG cannot currently be used with SCHED_ULE +#endif #include <sys/param.h> #include <sys/kdb.h> |