aboutsummaryrefslogtreecommitdiffstats
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 14:30:25 -0400
commit03753bc96b6dac5c80124b5a409658a0e14c22e0 (patch)
tree7a98d2b01fddb1a187a3ec561539e987636a5740
parent5e0a4919ccb230ab449826ef91bdf38a4ed283e5 (diff)
Fix changed task_struct field name.
-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 5a15ce93898..6553948407d 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 }