diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/litmus/fp_common.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/litmus/fp_common.h b/include/litmus/fp_common.h index 170cdf6b0e0b..9171040e65f8 100644 --- a/include/litmus/fp_common.h +++ b/include/litmus/fp_common.h | |||
@@ -17,10 +17,6 @@ int fp_higher_prio(struct task_struct* first, | |||
17 | 17 | ||
18 | int fp_ready_order(struct bheap_node* a, struct bheap_node* b); | 18 | int fp_ready_order(struct bheap_node* a, struct bheap_node* b); |
19 | 19 | ||
20 | int fp_preemption_needed(rt_domain_t* rt, struct task_struct *t); | ||
21 | |||
22 | |||
23 | |||
24 | #define FP_PRIO_BIT_WORDS (LITMUS_MAX_PRIORITY / BITS_PER_LONG) | 20 | #define FP_PRIO_BIT_WORDS (LITMUS_MAX_PRIORITY / BITS_PER_LONG) |
25 | 21 | ||
26 | #if (LITMUS_MAX_PRIORITY % BITS_PER_LONG) | 22 | #if (LITMUS_MAX_PRIORITY % BITS_PER_LONG) |
@@ -95,4 +91,7 @@ static inline struct task_struct* fp_prio_take(struct fp_prio_queue* q) | |||
95 | return NULL; | 91 | return NULL; |
96 | } | 92 | } |
97 | 93 | ||
94 | int fp_preemption_needed(struct fp_prio_queue* q, struct task_struct *t); | ||
95 | |||
96 | |||
98 | #endif | 97 | #endif |