Skip to content
Commit 0ec33c01 authored by Al Viro's avatar Al Viro
Browse files

x86: convert arch_futex_atomic_op_inuser() to user_access_begin/user_access_end()



Lift stac/clac pairs from __futex_atomic_op{1,2} into arch_futex_atomic_op_inuser(),
fold them with access_ok() in there.  The switch in arch_futex_atomic_op_inuser()
is what has required the previous (objtool) commit...

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 36b1c700
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment