]> 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)
commit647f7fba0fa335eb8c8eb20cb58d223dd29552a8
tree2a5e51604ad168f529606874ce7f2faf3649c971
parent5f38e45c60ef02fb1d740080b52803181edb707a
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: 6bfdc2859e1 ("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