ARM: 8793/1: signal: replace __put_user_error with __put_user
authorJulien Thierry <julien.thierry@arm.com>
Thu, 14 Feb 2019 02:10:10 +0000 (21:10 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Feb 2019 09:20:45 +0000 (10:20 +0100)
commit2ef94913e3289d5e23c0a10fdfbdf51ca1c52d67
treeaab0e4f4432403d2933f168fafe9ea008cf92269
parent96d4881f04b916118a0f043360e52bdf51a58f15
ARM: 8793/1: signal: replace __put_user_error with __put_user

Commit 18ea66bd6e7a95bdc598223d72757190916af28b upstream.

With Spectre-v1.1 mitigations, __put_user_error is pointless. In an attempt
to remove it, replace its references in frame setups with __put_user.

Signed-off-by: Julien Thierry <julien.thierry@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David A. Long <dave.long@linaro.org>
Reviewed-by: Julien Thierry <julien.thierry@arm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/kernel/signal.c