aboutsummaryrefslogtreecommitdiffstats
path: root/litmus
diff options
context:
space:
mode:
authorChristopher Kenna <cjk@cs.unc.edu>2012-09-20 14:30:25 -0400
committerChristopher Kenna <cjk@cs.unc.edu>2012-09-20 16:50:43 -0400
commitf6f09d93b50299e63780af15ec6e7828ae947923 (patch)
tree8e8eed50fa6f901b708a440d65885046908b1957 /litmus
parentc00613f1fad38acec00ef2c009ae4e73110084ac (diff)
Fix changed task_struct field name.
Diffstat (limited to 'litmus')
-rw-r--r--litmus/sched_litmus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/litmus/sched_litmus.c b/litmus/sched_litmus.c
index 5a15ce938984..6553948407de 100644
--- a/litmus/sched_litmus.c
+++ b/litmus/sched_litmus.c
@@ -102,9 +102,9 @@ litmus_schedule(struct rq *rq, struct task_struct *prev)
102 } 102 }
103 } 103 }
104#ifdef __ARCH_WANT_UNLOCKED_CTXSW 104#ifdef __ARCH_WANT_UNLOCKED_CTXSW
105 if (next->oncpu) 105 if (next->on_cpu)
106 TRACE_TASK(next, "waiting for !oncpu"); 106 TRACE_TASK(next, "waiting for !oncpu");
107 while (next->oncpu) { 107 while (next->on_cpu) {
108 cpu_relax(); 108 cpu_relax();
109 mb(); 109 mb();
110 } 110 }