diff options
author | Richard Yao <[email protected]> | 2013-03-03 23:42:32 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2013-03-14 10:43:19 -0700 |
commit | 10087fe1fa3e4aa4b6722a1d27a47853ebdf47c8 (patch) | |
tree | 42b93c54ad79e007c26052ff67418ede184af3a9 /include/sys | |
parent | ea5c4389fb7183f036b38e5ba171ac5a05798c4d (diff) |
Linux 3.9 compat: Include linux/sched/rt.h
Linux 3.9 reorganized sched.h, splitting it into numerous files.
torvalds/linux@8bd75c77b7c6a3954140dd2e20346aef3efe4a35 moved MAX_PRIO
and MAX_RT_PRIO to linux/sched/rt.h.
Signed-off-by: Richard Yao <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/sysmacros.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sys/sysmacros.h b/include/sys/sysmacros.h index 7c4da67fc..b4778b70e 100644 --- a/include/sys/sysmacros.h +++ b/include/sys/sysmacros.h @@ -26,12 +26,17 @@ #define _SPL_SYSMACROS_H #include <linux/module.h> +#include <linux/sched.h> #include <linux/cpumask.h> #include <sys/debug.h> #include <sys/varargs.h> #include <sys/zone.h> #include <sys/signal.h> +#ifdef HAVE_SCHED_RT_HEADER +#include <linux/sched/rt.h> +#endif + #ifndef _KERNEL #define _KERNEL __KERNEL__ #endif |