aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/sched_psn_edf.c
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2010-11-08 15:02:09 -0500
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2010-11-11 17:57:42 -0500
commit34310fd7dbc3ad98d8e7cafa4f872ba71ca00860 (patch)
tree31ddcaa124430c37ccb5e2f4cb0a69c37ad885ba /litmus/sched_psn_edf.c
parentc6182ba4a548baf0d1238d0df54e7d38ed299c3e (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/sched_psn_edf.c')
-rw-r--r--litmus/sched_psn_edf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/litmus/sched_psn_edf.c b/litmus/sched_psn_edf.c
index 73f64730bd5e..aa567f2b91b9 100644
--- a/litmus/sched_psn_edf.c
+++ b/litmus/sched_psn_edf.c
@@ -12,14 +12,13 @@
12#include <linux/sched.h> 12#include <linux/sched.h>
13#include <linux/list.h> 13#include <linux/list.h>
14#include <linux/spinlock.h> 14#include <linux/spinlock.h>
15
16#include <linux/module.h> 15#include <linux/module.h>
17 16
18#include <litmus/litmus.h> 17#include <litmus/litmus.h>
19#include <litmus/jobs.h> 18#include <litmus/jobs.h>
20#include <litmus/sched_plugin.h> 19#include <litmus/sched_plugin.h>
21#include <litmus/edf_common.h> 20#include <litmus/edf_common.h>
22 21#include <litmus/sched_trace.h>
23 22
24typedef struct { 23typedef struct {
25 rt_domain_t domain; 24 rt_domain_t domain;