]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf11a302be0220fffc6550c7311b16b2a7ed52d1b
treefa60afbc9e43a5a84856f61e2b0c9813d9f4a210
parent900abd43b6d837ba70928a9ee9599ba3be1d2fb6
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