]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: futex.h: Add missing PAN toggling
authorJames Morse <james.morse@arm.com>
Tue, 2 Feb 2016 15:53:59 +0000 (15:53 +0000)
committerWill Deacon <will.deacon@arm.com>
Tue, 2 Feb 2016 15:59:21 +0000 (15:59 +0000)
commit571563494641c25b176727622dd670764d6eaf0e
tree2a5e51604ad168f529606874ce7f2faf3649c971
parentfc3d764e01176865a811fe8157cb2603d11957f7
arm64: futex.h: Add missing PAN toggling

futex.h's futex_atomic_cmpxchg_inatomic() does not use the
__futex_atomic_op() macro and needs its own PAN toggling. This was missed
when the feature was implemented.

Fixes: 985b6fef687 ("arm64: kernel: Add support for Privileged Access Never")
Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/futex.h