summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kvm/hyp/switch.c
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2020-06-07 10:55:28 +0100
committerMarc Zyngier <maz@kernel.org>2020-06-09 10:59:52 +0100
commitb990d37fdf6781fd0907ffd14d0dff16b5d58ffa (patch)
treea5ddf6f6f821829ba47b6634ff9e4493d46c1ae2 /arch/arm64/kvm/hyp/switch.c
parent29eb5a3c57f7e06d803bb44a0ce2f9ed79f39cd9 (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/hyp/switch.c')
0 files changed, 0 insertions, 0 deletions