aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/schedule.c
diff options
context:
space:
mode:
Diffstat (limited to 'xen/common/schedule.c')
-rw-r--r--xen/common/schedule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/schedule.c b/xen/common/schedule.c
index f3fc6bcc3e..e6a90d85fe 100644
--- a/xen/common/schedule.c
+++ b/xen/common/schedule.c
@@ -1086,7 +1086,7 @@ static void schedule(void)
struct task_slice next_slice;
int cpu = smp_processor_id();
- ASSERT(!in_atomic());
+ ASSERT_NOT_IN_ATOMIC();
SCHED_STAT_CRANK(sched_run);