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/litmus_proc.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/litmus_proc.c')
-rw-r--r-- | litmus/litmus_proc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/litmus/litmus_proc.c b/litmus/litmus_proc.c index c10a6a6d3975..81ea5c35d291 100644 --- a/litmus/litmus_proc.c +++ b/litmus/litmus_proc.c | |||
@@ -2,6 +2,7 @@ | |||
2 | * litmus_proc.c -- Implementation of the /proc/litmus directory tree. | 2 | * litmus_proc.c -- Implementation of the /proc/litmus directory tree. |
3 | */ | 3 | */ |
4 | 4 | ||
5 | #include <linux/sched.h> | ||
5 | #include <linux/uaccess.h> | 6 | #include <linux/uaccess.h> |
6 | 7 | ||
7 | #include <litmus/litmus.h> | 8 | #include <litmus/litmus.h> |