diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2011-09-07 18:03:33 -0400 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2011-09-07 18:03:33 -0400 |
commit | 0b096fbe159a60c56190f8a627d764051e1e52ea (patch) | |
tree | 89535a50e48ae92d0add444684ef28603ea0bf3f /include/litmus/preempt.h | |
parent | d5e965b0074d6ef10f5a77112fc3671613a2150f (diff) |
Refactor to allow generic domains
Diffstat (limited to 'include/litmus/preempt.h')
-rw-r--r-- | include/litmus/preempt.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/litmus/preempt.h b/include/litmus/preempt.h index 260c6fe17986..29bf9bc47daf 100644 --- a/include/litmus/preempt.h +++ b/include/litmus/preempt.h | |||
@@ -8,11 +8,13 @@ | |||
8 | 8 | ||
9 | #include <litmus/debug_trace.h> | 9 | #include <litmus/debug_trace.h> |
10 | 10 | ||
11 | |||
11 | extern DEFINE_PER_CPU_SHARED_ALIGNED(atomic_t, resched_state); | 12 | extern DEFINE_PER_CPU_SHARED_ALIGNED(atomic_t, resched_state); |
12 | 13 | ||
13 | #ifdef CONFIG_DEBUG_KERNEL | 14 | #ifdef CONFIG_DEBUG_KERNEL |
14 | const char* sched_state_name(int s); | 15 | const char* sched_state_name(int s); |
15 | #define TRACE_STATE(fmt, args...) TRACE("SCHED_STATE " fmt, args) | 16 | //#define TRACE_STATE(fmt, args...) TRACE("SCHED_STATE " fmt, args) |
17 | #define TRACE_STATE(fmt, args...) /* ignore */ | ||
16 | #else | 18 | #else |
17 | #define TRACE_STATE(fmt, args...) /* ignore */ | 19 | #define TRACE_STATE(fmt, args...) /* ignore */ |
18 | #endif | 20 | #endif |