aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Elliott <gelliott@cs.unc.edu>2013-10-09 16:50:18 -0400
committerGlenn Elliott <gelliott@cs.unc.edu>2013-10-09 16:50:18 -0400
commit114bba3a65a8a6b50b7514e4245cd28d8da1d6ea (patch)
tree8e8ceae2116dd014ec065cbe13957a17615ad1d7
parent91ac0052eec03b8624ea3613acd50825c17981f1 (diff)
pick up last C-RM filewip-2012.3-gpu-preport
-rw-r--r--include/litmus/rm_common.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/include/litmus/rm_common.h b/include/litmus/rm_common.h
deleted file mode 100644
index 7f47934d68ee..000000000000
--- a/include/litmus/rm_common.h
+++ /dev/null
@@ -1,37 +0,0 @@
1/*
2 * RM common data structures and utility functions shared by all RM
3 * based scheduler plugins
4 */
5
6/* CLEANUP: Add comments and make it less messy.
7 *
8 */
9
10#ifndef __UNC_RM_COMMON_H__
11#define __UNC_RM_COMMON_H__
12
13#include <litmus/rt_domain.h>
14
15void rm_domain_init(rt_domain_t* rt, check_resched_needed_t resched,
16 release_jobs_t release);
17
18int rm_higher_prio(struct task_struct* first,
19 struct task_struct* second);
20
21int rm_ready_order(struct bheap_node* a, struct bheap_node* b);
22
23#ifdef CONFIG_LITMUS_NESTED_LOCKING
24/* binheap_nodes must be embedded within 'struct litmus_lock' */
25int rm_max_heap_order(struct binheap_node *a, struct binheap_node *b);
26int rm_min_heap_order(struct binheap_node *a, struct binheap_node *b);
27int rm_max_heap_base_priority_order(struct binheap_node *a, struct binheap_node *b);
28int rm_min_heap_base_priority_order(struct binheap_node *a, struct binheap_node *b);
29
30int __rm_higher_prio(struct task_struct* first, comparison_mode_t first_mode,
31 struct task_struct* second, comparison_mode_t second_mode);
32
33#endif
34
35int rm_preemption_needed(rt_domain_t* rt, struct task_struct *t);
36
37#endif