commit | b990d37fdf6781fd0907ffd14d0dff16b5d58ffa | [log] [tgz] |
---|---|---|
author | Marc Zyngier <maz@kernel.org> | Sun Jun 07 10:55:28 2020 +0100 |
committer | Marc Zyngier <maz@kernel.org> | Tue Jun 09 10:59:52 2020 +0100 |
tree | a5ddf6f6f821829ba47b6634ff9e4493d46c1ae2 | |
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>