diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2020-02-16 16:27:46 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-03-28 04:58:52 +0100 |
commit | 0bea4f7beb68db927a05ff4c08b3ce9f32d043f9 (patch) | |
tree | 324eaa9bd65a8c6ebe1f3982f5d641945d2ff0ad /arch/sh | |
parent | futex: arch_futex_atomic_op_inuser() calling conventions change (diff) | |
download | linux-0bea4f7beb68db927a05ff4c08b3ce9f32d043f9.tar.xz linux-0bea4f7beb68db927a05ff4c08b3ce9f32d043f9.zip |
sh: no need of access_ok() in arch_futex_atomic_op_inuser()
everything it uses is doing access_ok() already
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/include/asm/futex.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/sh/include/asm/futex.h b/arch/sh/include/asm/futex.h index 324fa680b13d..b39cda09fb95 100644 --- a/arch/sh/include/asm/futex.h +++ b/arch/sh/include/asm/futex.h @@ -34,9 +34,6 @@ static inline int arch_futex_atomic_op_inuser(int op, u32 oparg, int *oval, u32 oldval, newval, prev; int ret; - if (!access_ok(uaddr, sizeof(u32))) - return -EFAULT; - do { ret = get_user(oldval, uaddr); |