Preemptive anti-footshooting: cause a #error if MP_WATCHDOG is compiled

with SCHED_ULE.
This commit is contained in:
Robert Watson 2004-08-15 20:32:40 +00:00
parent 1d875a6ebd
commit 273ad9acbc
2 changed files with 10 additions and 0 deletions

View File

@ -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>

View File

@ -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>