mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
Linux 3.9 compat: Include linux/sched/rt.h
Linux 3.9 reorganized sched.h, splitting it into numerous files. torvalds/linux@8bd75c77b7 moved MAX_PRIO and MAX_RT_PRIO to linux/sched/rt.h. Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
committed by
Brian Behlendorf
parent
ea5c4389fb
commit
10087fe1fa
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user