ARM: 8795/1: spectre-v1.1: use put_user() for __put_user()
authorJulien Thierry <julien.thierry@arm.com>
Tue, 11 Sep 2018 09:13:39 +0000 (10:13 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 5 Oct 2018 09:51:15 +0000 (10:51 +0100)
commite3aa6243434fd9a82e84bb79ab1abd14f2d9a5a7
treea062d1fb252ca8a25467b1665959ab32affa59e9
parent621afc677465db231662ed126ae1f355bf8eac47
ARM: 8795/1: spectre-v1.1: use put_user() for __put_user()

When Spectre mitigation is required, __put_user() needs to include
check_uaccess. This is already the case for put_user(), so just make
__put_user() an alias of put_user().

Signed-off-by: Julien Thierry <julien.thierry@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/include/asm/uaccess.h