]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - arch/xtensa/kernel/process.c
sched/rt: Use schedule_preempt_disabled()
[mirror_ubuntu-bionic-kernel.git] / arch / xtensa / kernel / process.c
index 47041e7c088c58da4fadacd77d57995ab438d21c..2c9004770c4e1d0ca3aa63a10128510bbccab659 100644 (file)
@@ -113,9 +113,7 @@ void cpu_idle(void)
        while (1) {
                while (!need_resched())
                        platform_idle();
-               preempt_enable_no_resched();
-               schedule();
-               preempt_disable();
+               schedule_preempt_disabled();
        }
 }