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/budget.c | |
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/budget.c')
-rw-r--r-- | litmus/budget.c | 2 |
1 files changed, 2 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. */ |