Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 440ee365 authored by Ezequiel Garcia's avatar Ezequiel Garcia Committed by Russell King
Browse files

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: default avatarEzequiel Garcia <ezequiel@vanguardiasur.com.ar>
Acked-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent b522842c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -88,7 +88,7 @@ __pendsv_entry:
	@ execute the pending work, including reschedule
	get_thread_info tsk
	mov	why, #0
	b	ret_to_user
	b	ret_to_user_from_irq
ENDPROC(__pendsv_entry)

/*