diff options
Diffstat (limited to 'litmus/edf_common.c')
-rw-r--r-- | litmus/edf_common.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/litmus/edf_common.c b/litmus/edf_common.c index 9b44dc2d8d1e..fbd67ab5f467 100644 --- a/litmus/edf_common.c +++ b/litmus/edf_common.c | |||
@@ -65,6 +65,12 @@ int edf_higher_prio(struct task_struct* first, | |||
65 | 65 | ||
66 | 66 | ||
67 | return !is_realtime(second_task) || | 67 | return !is_realtime(second_task) || |
68 | |||
69 | #ifdef CONFIG_LITMUS_SOFTIRQD | ||
70 | /* proxy threads always lose w/o inheritance. */ | ||
71 | (first_task->rt_param.is_proxy_thread < | ||
72 | second_task->rt_param.is_proxy_thread) || | ||
73 | #endif | ||
68 | 74 | ||
69 | /* is the deadline of the first task earlier? | 75 | /* is the deadline of the first task earlier? |
70 | * Then it has higher priority. | 76 | * Then it has higher priority. |