diff --git a/xen/common/schedule.c b/xen/common/schedule.c index 497da1862c..779ad1930f 100644 --- a/xen/common/schedule.c +++ b/xen/common/schedule.c @@ -1313,7 +1313,7 @@ void schedule_cpu_switch(unsigned int cpu, struct cpupool *c) spin_unlock_irqrestore(per_cpu(schedule_data, cpu).schedule_lock, flags); - SCHED_OP(old_ops, free_vdata, vpriv); + SCHED_OP(old_ops, free_vdata, vpriv_old); SCHED_OP(old_ops, free_pdata, ppriv_old, cpu); }