]> git.baikalelectronics.ru Git - kernel.git/commit
futex: Update comments and docs about return values of arch futex code
authorWill Deacon <will.deacon@arm.com>
Wed, 10 Apr 2019 10:51:54 +0000 (11:51 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 26 Apr 2019 12:57:55 +0000 (13:57 +0100)
commitec231a1d21ad9a473717322b25731ea42040b5b1
treeadb1c420287cb4a6fe1e84b098ef51eb61d964a0
parente59de37952abd633c7df6b11599e8c7ffb84806d
futex: Update comments and docs about return values of arch futex code

The architecture implementations of 'arch_futex_atomic_op_inuser()' and
'futex_atomic_cmpxchg_inatomic()' are permitted to return only -EFAULT,
-EAGAIN or -ENOSYS in the case of failure.

Update the comments in the asm-generic/ implementation and also a stray
reference in the robust futex documentation.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Documentation/robust-futexes.txt
include/asm-generic/futex.h