summaryrefslogtreecommitdiff
path: root/include/linux/sched/rt.h
diff options
context:
space:
mode:
authorCon Kolivas <kernel@kolivas.org>2019-10-25 14:00:52 +1100
committerCon Kolivas <kernel@kolivas.org>2019-10-25 17:01:56 +1100
commit7523eb72b6b9f9289618231aab60efb5577d8f33 (patch)
tree95bb3c5dcb67fc38d32839dd78aaf59451216ca9 /include/linux/sched/rt.h
parent4d856f72c10ecb060868ed10ff1b1453943fc6c8 (diff)
MultiQueue Skiplist Scheduler v0.195.5.3-muqss-195
Diffstat (limited to 'include/linux/sched/rt.h')
-rw-r--r--include/linux/sched/rt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sched/rt.h b/include/linux/sched/rt.h
index e5af028c08b4..010b2244e0b6 100644
--- a/include/linux/sched/rt.h
+++ b/include/linux/sched/rt.h
@@ -24,8 +24,10 @@ static inline bool task_is_realtime(struct task_struct *tsk)
if (policy == SCHED_FIFO || policy == SCHED_RR)
return true;
+#ifndef CONFIG_SCHED_MUQSS
if (policy == SCHED_DEADLINE)
return true;
+#endif
return false;
}