aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/sched_sedf.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-05-19 11:15:26 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-05-19 11:15:26 +0100
commit1aaeaa05a232cd43b24e0d10f3887971b3d52053 (patch)
treefba22d5885a8740a3beadca268c94c274feb1635 /xen/common/sched_sedf.c
parent238deec7a647020bd882780ef18f1f0cd06494ee (diff)
downloadxen-1aaeaa05a232cd43b24e0d10f3887971b3d52053.tar.gz
xen-1aaeaa05a232cd43b24e0d10f3887971b3d52053.tar.bz2
xen-1aaeaa05a232cd43b24e0d10f3887971b3d52053.zip
Fix CPU hotplug after percpu data handling changes.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/common/sched_sedf.c')
-rw-r--r--xen/common/sched_sedf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/sched_sedf.c b/xen/common/sched_sedf.c
index a9d107b546..8795f67774 100644
--- a/xen/common/sched_sedf.c
+++ b/xen/common/sched_sedf.c
@@ -123,7 +123,7 @@ struct sedf_cpu_info {
#define RUNQ(cpu) (&CPU_INFO(cpu)->runnableq)
#define WAITQ(cpu) (&CPU_INFO(cpu)->waitq)
#define EXTRAQ(cpu,i) (&(CPU_INFO(cpu)->extraq[i]))
-#define IDLETASK(cpu) ((struct vcpu *)per_cpu(schedule_data, cpu).idle)
+#define IDLETASK(cpu) (idle_vcpu[cpu])
#define PERIOD_BEGIN(inf) ((inf)->deadl_abs - (inf)->period)