Skip to content

Commit 440ee36

Browse files
ezequielgarciaRussell King
authored andcommitted
ARM: 8450/1: v7-M: Use ret_to_user_from_irq in PendSV handler
The PendSV handler calls v7m_exception_entry which disables IRQs. Therefore, since IRQs are already disabled, the PendSV handler can return using ret_to_user_from_irq. Signed-off-by: Ezequiel Garcia <[email protected]> Acked-by: Uwe Kleine-König <[email protected]> Signed-off-by: Russell King <[email protected]>
1 parent b522842 commit 440ee36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/kernel/entry-v7m.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ __pendsv_entry:
8888
@ execute the pending work, including reschedule
8989
get_thread_info tsk
9090
mov why, #0
91-
b ret_to_user
91+
b ret_to_user_from_irq
9292
ENDPROC(__pendsv_entry)
9393

9494
/*

0 commit comments

Comments
 (0)