]> git.baikalelectronics.ru Git - kernel.git/commit
x86: get rid of user_atomic_cmpxchg_inatomic()
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 20 Mar 2020 02:23:48 +0000 (22:23 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 28 Mar 2020 03:58:55 +0000 (23:58 -0400)
commitb7d7a515a5fc8589ead43661621c4a5c6f7145ac
tree3e113b81de08219cf15ba25a597b8f7cb6a5fd13
parent4ec2253e32b76089ff035611b6678a4f6ed8d6ca
x86: get rid of user_atomic_cmpxchg_inatomic()

Only one user left; the thing had been made polymorphic back in 2013
for the sake of MPX.  No point keeping it now that MPX is gone.
Convert futex_atomic_cmpxchg_inatomic() to user_access_{begin,end}()
while we are at it.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/x86/include/asm/futex.h
arch/x86/include/asm/uaccess.h