aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus/preempt.h
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2011-09-07 18:03:33 -0400
committerJonathan Herman <hermanjl@cs.unc.edu>2011-09-07 18:03:33 -0400
commit0b096fbe159a60c56190f8a627d764051e1e52ea (patch)
tree89535a50e48ae92d0add444684ef28603ea0bf3f /include/litmus/preempt.h
parentd5e965b0074d6ef10f5a77112fc3671613a2150f (diff)
Refactor to allow generic domains
Diffstat (limited to 'include/litmus/preempt.h')
-rw-r--r--include/litmus/preempt.h4
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
11extern DEFINE_PER_CPU_SHARED_ALIGNED(atomic_t, resched_state); 12extern DEFINE_PER_CPU_SHARED_ALIGNED(atomic_t, resched_state);
12 13
13#ifdef CONFIG_DEBUG_KERNEL 14#ifdef CONFIG_DEBUG_KERNEL
14const char* sched_state_name(int s); 15const 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