diff options
Diffstat (limited to 'kernel/drivers/xen/preempt.c')
-rw-r--r-- | kernel/drivers/xen/preempt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/xen/preempt.c b/kernel/drivers/xen/preempt.c index a1800c150..08cb419eb 100644 --- a/kernel/drivers/xen/preempt.c +++ b/kernel/drivers/xen/preempt.c @@ -31,7 +31,7 @@ EXPORT_SYMBOL_GPL(xen_in_preemptible_hcall); asmlinkage __visible void xen_maybe_preempt_hcall(void) { if (unlikely(__this_cpu_read(xen_in_preemptible_hcall) - && should_resched())) { + && need_resched())) { /* * Clear flag as we may be rescheduled on a different * cpu. |