futex: arch_futex_atomic_op_inuser() calling conventions change
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 16 Feb 2020 15:17:27 +0000 (10:17 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 28 Mar 2020 03:58:51 +0000 (23:58 -0400)
commita08971e9488d12a10a46eb433612229767b61fd5
treefa60afbc9e43a5a84856f61e2b0c9813d9f4a210
parentbb6d3fb354c5ee8d6bde2d576eb7220ea09862b9
futex: arch_futex_atomic_op_inuser() calling conventions change

Move access_ok() in and pagefault_enable()/pagefault_disable() out.
Mechanical conversion only - some instances don't really need
a separate access_ok() at all (e.g. the ones only using
get_user()/put_user(), or architectures where access_ok()
is always true); we'll deal with that in followups.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
20 files changed:
arch/alpha/include/asm/futex.h
arch/arc/include/asm/futex.h
arch/arm/include/asm/futex.h
arch/arm64/include/asm/futex.h
arch/hexagon/include/asm/futex.h
arch/ia64/include/asm/futex.h
arch/microblaze/include/asm/futex.h
arch/mips/include/asm/futex.h
arch/nds32/include/asm/futex.h
arch/openrisc/include/asm/futex.h
arch/parisc/include/asm/futex.h
arch/powerpc/include/asm/futex.h
arch/riscv/include/asm/futex.h
arch/s390/include/asm/futex.h
arch/sh/include/asm/futex.h
arch/sparc/include/asm/futex_64.h
arch/x86/include/asm/futex.h
arch/xtensa/include/asm/futex.h
include/asm-generic/futex.h
kernel/futex.c