diff options
| author | Jonathan Herman <hermanjl@cs.unc.edu> | 2011-10-14 14:55:09 -0400 |
|---|---|---|
| committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2011-10-14 14:55:09 -0400 |
| commit | 9f7381b674d6e20fefde16633864d9e0aa44fa80 (patch) | |
| tree | 6220bd79f9a4d40f08c18a186b04dfbfdd32fe92 /include/litmus | |
| parent | cfb2b53f2d1c16d8d5f7197af2b034f6bc2d2fd4 (diff) | |
| parent | 42ba03ccc49110d65a44da49a19354ae1a1351ac (diff) | |
Merge branch 'wip-mc' of ssh://cvs.cs.unc.edu/cvs/proj/litmus/repo/litmus2010 into wip-mc
Diffstat (limited to 'include/litmus')
| -rw-r--r-- | include/litmus/sched_mc.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/litmus/sched_mc.h b/include/litmus/sched_mc.h index 8cdec04c64df..740cc11be5d7 100644 --- a/include/litmus/sched_mc.h +++ b/include/litmus/sched_mc.h | |||
| @@ -31,14 +31,6 @@ struct mc_data { | |||
| 31 | struct mc_job mc_job; | 31 | struct mc_job mc_job; |
| 32 | }; | 32 | }; |
| 33 | 33 | ||
| 34 | /* Leave a CPU free for tracing stuff */ | ||
| 35 | #if CONFIG_FTRACE_CPU != NO_CPU | ||
| 36 | extern struct cpumask rt_mask; | ||
| 37 | #define for_each_rt_cpu(cpu) for_each_cpu((cpu), &rt_mask) | ||
| 38 | #else | ||
| 39 | #define for_each_rt_cpu(cpu) for_each_online_cpu(cpu) | ||
| 40 | #endif | ||
| 41 | |||
| 42 | #define tsk_mc_data(t) (tsk_rt(t)->mc_data) | 34 | #define tsk_mc_data(t) (tsk_rt(t)->mc_data) |
| 43 | #define tsk_mc_crit(t) (tsk_mc_data(t)->mc_task.crit) | 35 | #define tsk_mc_crit(t) (tsk_mc_data(t)->mc_task.crit) |
| 44 | #define is_ghost(t) (tsk_mc_data(t)->mc_job.is_ghost) | 36 | #define is_ghost(t) (tsk_mc_data(t)->mc_job.is_ghost) |
