diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2010-11-08 15:02:09 -0500 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2010-11-11 17:57:42 -0500 |
commit | 34310fd7dbc3ad98d8e7cafa4f872ba71ca00860 (patch) | |
tree | 31ddcaa124430c37ccb5e2f4cb0a69c37ad885ba /litmus/srp.c | |
parent | c6182ba4a548baf0d1238d0df54e7d38ed299c3e (diff) |
Split out TRACE() from litmus.h and cleanup some includes
The TRACE() functionality doesn't need all of litmus.h. Currently,
it's impossible to use TRACE() in sched.h due to a circular
dependency. This patch moves TRACE() and friends to
litmus/sched_debug.h, which can be included in sched.h.
While at it, also fix some minor include ugliness that was revealed by
this change.
Diffstat (limited to 'litmus/srp.c')
-rw-r--r-- | litmus/srp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/litmus/srp.c b/litmus/srp.c index 71639b991630..cb577598ce3e 100644 --- a/litmus/srp.c +++ b/litmus/srp.c | |||
@@ -3,12 +3,12 @@ | |||
3 | /* ************************************************************************** */ | 3 | /* ************************************************************************** */ |
4 | 4 | ||
5 | #include <asm/atomic.h> | 5 | #include <asm/atomic.h> |
6 | #include <linux/sched.h> | ||
6 | #include <linux/wait.h> | 7 | #include <linux/wait.h> |
8 | |||
7 | #include <litmus/litmus.h> | 9 | #include <litmus/litmus.h> |
8 | #include <litmus/sched_plugin.h> | 10 | #include <litmus/sched_plugin.h> |
9 | |||
10 | #include <litmus/fdso.h> | 11 | #include <litmus/fdso.h> |
11 | |||
12 | #include <litmus/trace.h> | 12 | #include <litmus/trace.h> |
13 | 13 | ||
14 | 14 | ||