kernel/arch: reverse polarity on sched_locked
This will allow for an enhancement when checking if the thread is preemptible when exiting an interrupt. Change-Id: If93ccd1916eacb5e02a4d15b259fb74f9800d6f4 Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
This commit is contained in:
parent
04ed860c68
commit
e6a69cae54
7 changed files with 14 additions and 11 deletions
|
@ -93,7 +93,7 @@ SECTION_SUBSEC_FUNC(TEXT, _HandlerModeExit, _ExcExit)
|
|||
|
||||
/* scheduler locked ? do not schedule */
|
||||
cmp r3, #0
|
||||
bgt _EXIT_EXC
|
||||
bne _EXIT_EXC
|
||||
|
||||
ldr r0, [r0, _kernel_offset_to_ready_q_cache]
|
||||
cmp r0, r1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue