diff options
-rw-r--r-- | include/litmus/fp_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/litmus/fp_common.h b/include/litmus/fp_common.h index dd1f7bf1e347..19356c0fa6c1 100644 --- a/include/litmus/fp_common.h +++ b/include/litmus/fp_common.h | |||
@@ -57,7 +57,7 @@ static inline unsigned int fpq_find(struct fp_prio_queue* q) | |||
57 | 57 | ||
58 | static inline void fp_prio_add(struct fp_prio_queue* q, struct task_struct* t, unsigned int index) | 58 | static inline void fp_prio_add(struct fp_prio_queue* q, struct task_struct* t, unsigned int index) |
59 | { | 59 | { |
60 | 60 | BUG_ON(index >= LITMUS_MAX_PRIORITY); | |
61 | BUG_ON(bheap_node_in_heap(tsk_rt(t)->heap_node)); | 61 | BUG_ON(bheap_node_in_heap(tsk_rt(t)->heap_node)); |
62 | 62 | ||
63 | fpq_set(q, index); | 63 | fpq_set(q, index); |