diff options
author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2012-05-31 03:03:27 -0400 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2012-05-31 03:03:27 -0400 |
commit | de76e27d43f69c6c143893b15eb1f830a11df053 (patch) | |
tree | 21d54838d720e0d4af04b5d81f5a022b2c4b16e0 /litmus | |
parent | 4c0bcddb6feeef54cebca39385c1bda0392dee15 (diff) |
Move budget-related helpers to budget.h
litmus.h is accumulating too many things. Since
we already have budget.h, let's stick all budget-related
inline functions there as well.
This patch is merely cosmetic; it does not change
how budget enforcement works.
Diffstat (limited to 'litmus')
-rw-r--r-- | litmus/budget.c | 2 | ||||
-rw-r--r-- | litmus/sched_cedf.c | 1 | ||||
-rw-r--r-- | litmus/sched_gsn_edf.c | 1 | ||||
-rw-r--r-- | litmus/sched_psn_edf.c | 1 |
4 files changed, 5 insertions, 0 deletions
diff --git a/litmus/budget.c b/litmus/budget.c index 310e9a3d4172..f7712be29adb 100644 --- a/litmus/budget.c +++ b/litmus/budget.c | |||
@@ -5,6 +5,8 @@ | |||
5 | #include <litmus/litmus.h> | 5 | #include <litmus/litmus.h> |
6 | #include <litmus/preempt.h> | 6 | #include <litmus/preempt.h> |
7 | 7 | ||
8 | #include <litmus/budget.h> | ||
9 | |||
8 | struct enforcement_timer { | 10 | struct enforcement_timer { |
9 | /* The enforcement timer is used to accurately police | 11 | /* The enforcement timer is used to accurately police |
10 | * slice budgets. */ | 12 | * slice budgets. */ |
diff --git a/litmus/sched_cedf.c b/litmus/sched_cedf.c index 480c62bc895b..caf7c52d2b84 100644 --- a/litmus/sched_cedf.c +++ b/litmus/sched_cedf.c | |||
@@ -35,6 +35,7 @@ | |||
35 | #include <litmus/litmus.h> | 35 | #include <litmus/litmus.h> |
36 | #include <litmus/jobs.h> | 36 | #include <litmus/jobs.h> |
37 | #include <litmus/preempt.h> | 37 | #include <litmus/preempt.h> |
38 | #include <litmus/budget.h> | ||
38 | #include <litmus/sched_plugin.h> | 39 | #include <litmus/sched_plugin.h> |
39 | #include <litmus/edf_common.h> | 40 | #include <litmus/edf_common.h> |
40 | #include <litmus/sched_trace.h> | 41 | #include <litmus/sched_trace.h> |
diff --git a/litmus/sched_gsn_edf.c b/litmus/sched_gsn_edf.c index 6ed504f4750e..ea96a48b4185 100644 --- a/litmus/sched_gsn_edf.c +++ b/litmus/sched_gsn_edf.c | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <litmus/trace.h> | 21 | #include <litmus/trace.h> |
22 | 22 | ||
23 | #include <litmus/preempt.h> | 23 | #include <litmus/preempt.h> |
24 | #include <litmus/budget.h> | ||
24 | 25 | ||
25 | #include <litmus/bheap.h> | 26 | #include <litmus/bheap.h> |
26 | 27 | ||
diff --git a/litmus/sched_psn_edf.c b/litmus/sched_psn_edf.c index 8e4a22dd8d6a..b0c8126bd44a 100644 --- a/litmus/sched_psn_edf.c +++ b/litmus/sched_psn_edf.c | |||
@@ -17,6 +17,7 @@ | |||
17 | #include <litmus/litmus.h> | 17 | #include <litmus/litmus.h> |
18 | #include <litmus/jobs.h> | 18 | #include <litmus/jobs.h> |
19 | #include <litmus/preempt.h> | 19 | #include <litmus/preempt.h> |
20 | #include <litmus/budget.h> | ||
20 | #include <litmus/sched_plugin.h> | 21 | #include <litmus/sched_plugin.h> |
21 | #include <litmus/edf_common.h> | 22 | #include <litmus/edf_common.h> |
22 | #include <litmus/sched_trace.h> | 23 | #include <litmus/sched_trace.h> |