Support scheduler parameters in kernels >= 4.11.
This commit is contained in:
parent
af0f0a2287
commit
a694e3055f
|
|
@ -44,6 +44,11 @@
|
|||
#include <linux/device.h>
|
||||
#include <linux/version.h>
|
||||
#include <linux/hrtimer.h>
|
||||
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
|
||||
#include <linux/sched/types.h> // struct sched_param
|
||||
#endif
|
||||
|
||||
#include "globals.h"
|
||||
#include "slave.h"
|
||||
#include "slave_config.h"
|
||||
|
|
|
|||
Loading…
Reference in New Issue