diff options
author | Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> | 2015-10-30 23:08:05 +0300 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-11-16 21:34:37 +0300 |
commit | 440ee365d30adbcd9a97fba9cd629cedb7e9b7cb (patch) | |
tree | 9819d9513c958a25e462c544a8bbc23b14df2888 /arch/arm/kernel/entry-v7m.S | |
parent | b522842c43e49bff1a1c929628f9fd46e596c06b (diff) | |
download | linux-440ee365d30adbcd9a97fba9cd629cedb7e9b7cb.tar.xz |
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 <ezequiel@vanguardiasur.com.ar>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/entry-v7m.S')
-rw-r--r-- | arch/arm/kernel/entry-v7m.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/entry-v7m.S b/arch/arm/kernel/entry-v7m.S index b6c8bb9315e7..907534f97053 100644 --- a/arch/arm/kernel/entry-v7m.S +++ b/arch/arm/kernel/entry-v7m.S @@ -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) /* |