kernel/idle.c: fix compilation failure (SMP && !SCHED_IPI_SUPPORTED)

An #endif and the brace terminating a compound statement were
transposed, causing compilation errors with the above-specified
combination of configuration options.

Signed-off-by: Charles E. Youse <charles.youse@intel.com>
This commit is contained in:
Charles E. Youse 2019-09-28 12:40:19 -04:00 committed by Anas Nashif
commit c0c4ba8516

View file

@ -159,8 +159,7 @@ void idle(void *unused1, void *unused2, void *unused3)
#else
(void)z_arch_irq_lock();
sys_power_save_idle();
IDLE_YIELD_IF_COOP();
}
#endif
}
}