Preemptive anti-footshooting: cause a #error if MP_WATCHDOG is compiled
with SCHED_ULE.
This commit is contained in:
parent
1d875a6ebd
commit
273ad9acbc
@ -27,6 +27,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "opt_mp_watchdog.h"
|
#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/param.h>
|
||||||
#include <sys/kdb.h>
|
#include <sys/kdb.h>
|
||||||
|
@ -27,6 +27,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "opt_mp_watchdog.h"
|
#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/param.h>
|
||||||
#include <sys/kdb.h>
|
#include <sys/kdb.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user