提交 440ee365 编写于 作者: E Ezequiel Garcia 提交者: Russell King

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: NEzequiel Garcia <ezequiel@vanguardiasur.com.ar>
Acked-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 b522842c
...@@ -88,7 +88,7 @@ __pendsv_entry: ...@@ -88,7 +88,7 @@ __pendsv_entry:
@ execute the pending work, including reschedule @ execute the pending work, including reschedule
get_thread_info tsk get_thread_info tsk
mov why, #0 mov why, #0
b ret_to_user b ret_to_user_from_irq
ENDPROC(__pendsv_entry) ENDPROC(__pendsv_entry)
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册