Skip to content
Commit 7f42dbaf authored by Andy Ross's avatar Andy Ross Committed by Carles Cufí
Browse files

kernel: Add CONFIG_SWAP_NONATOMIC flag



On ARM, _Swap() isn't atomic and a hardware interrupt can land after
the (irq_locked) caller has entered _Swap() but before the context
switch actually happens.  This will require some platform-specific
workarounds in a few places in the scheduler.

This commit is just the Kconfig and selection on ARM.

Signed-off-by: default avatarAndy Ross <andrew.j.ross@intel.com>
parent 3fd89bac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment