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/trace.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/trace.c')
-rw-r--r-- | litmus/trace.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/litmus/trace.c b/litmus/trace.c index 440376998dc9..b3a6b47aad6e 100644 --- a/litmus/trace.c +++ b/litmus/trace.c | |||
@@ -1,3 +1,4 @@ | |||
1 | #include <linux/sched.h> | ||
1 | #include <linux/module.h> | 2 | #include <linux/module.h> |
2 | 3 | ||
3 | #include <litmus/ftdev.h> | 4 | #include <litmus/ftdev.h> |