diff options
author | Marc Zyngier <maz@kernel.org> | 2020-06-07 10:55:28 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-06-09 10:59:52 +0100 |
commit | b990d37fdf6781fd0907ffd14d0dff16b5d58ffa (patch) | |
tree | a5ddf6f6f821829ba47b6634ff9e4493d46c1ae2 /arch/arm64/kvm | |
parent | 29eb5a3c57f7e06d803bb44a0ce2f9ed79f39cd9 (diff) |
KVM: arm64: Stop sparse from moaning at __hyp_this_cpu_ptr
Sparse complains that __hyp_this_cpu_ptr() returns something
that is flagged noderef and not in the correct address space
(both being the result of the __percpu annotation).
Pretend that __hyp_this_cpu_ptr() knows what it is doing by
forcefully casting the pointer with __kernel __force.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/arm64/kvm')
0 files changed, 0 insertions, 0 deletions