diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2011-04-10 23:42:36 -0400 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2011-04-10 23:42:36 -0400 |
commit | 1be669427c6e2dddcae5e3e6caabd4de55ca5e87 (patch) | |
tree | 3ddfbad602b9309f285a29e6fc390c1467ade172 | |
parent | 8b2cd23fa8330a74d3aaaed267f578ea676e1074 (diff) |
edf fix
-rw-r--r-- | litmus/sched_edf_hsb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/litmus/sched_edf_hsb.c b/litmus/sched_edf_hsb.c index ee36a4bf2d05..d4869773875d 100644 --- a/litmus/sched_edf_hsb.c +++ b/litmus/sched_edf_hsb.c | |||
@@ -50,6 +50,9 @@ | |||
50 | #define BE_SERVER_BASE 100 | 50 | #define BE_SERVER_BASE 100 |
51 | #define SLACK_MIN NSEC_PER_MSEC | 51 | #define SLACK_MIN NSEC_PER_MSEC |
52 | 52 | ||
53 | atomic_t servers_running = ATOMIC_INIT(0); /* TODO should be unnecessary */ | ||
54 | |||
55 | |||
53 | #define TIME(x) \ | 56 | #define TIME(x) \ |
54 | (x) | 57 | (x) |
55 | /* ({lt_t y = x; \ */ | 58 | /* ({lt_t y = x; \ */ |
@@ -67,7 +70,6 @@ | |||
67 | * a lot of lock contention. | 70 | * a lot of lock contention. |
68 | */ | 71 | */ |
69 | #ifdef DEBUG_EDF_HSB | 72 | #ifdef DEBUG_EDF_HSB |
70 | atomic_t servers_running = ATOMIC_INIT(0); /* TODO should be unnecessary */ | ||
71 | 73 | ||
72 | #define TRACE_SUB(fmt, args...) \ | 74 | #define TRACE_SUB(fmt, args...) \ |
73 | sched_trace_log_message("%d P%d [%s@%s:%d]: " fmt "\n", \ | 75 | sched_trace_log_message("%d P%d [%s@%s:%d]: " fmt "\n", \ |