OSDN Git Service

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)
commitf5544ba712afd1b01dd856c7eecfb5d30beaf920
tree3e113b81de08219cf15ba25a597b8f7cb6a5fd13
parenta251b2d513ea4116ddb5487610e4b4048c7aa397
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