diff options
author | Will Deacon <will.deacon@arm.com> | 2014-08-26 15:13:21 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-06-29 12:25:38 -0700 |
commit | ac413349b7968c30a3986cc39ce14cc84a4bc05c (patch) | |
tree | c5c144154522d83648bbe7dc358498fe6c53e65b /arch/arm/kvm/mmu.c | |
parent | 3593b221a8fe066e43e2b37b0c7e155ad9e267c7 (diff) | |
download | lwn-ac413349b7968c30a3986cc39ce14cc84a4bc05c.tar.gz lwn-ac413349b7968c30a3986cc39ce14cc84a4bc05c.zip |
KVM: ARM/arm64: fix broken __percpu annotation
commit 4000be423cb01a8d09de878bb8184511c49d4238 upstream.
Running sparse results in a bunch of noisy address space mismatches
thanks to the broken __percpu annotation on kvm_get_running_vcpus.
This function returns a pcpu pointer to a pointer, not a pointer to a
pcpu pointer. This patch fixes the annotation, which kills the warnings
from sparse.
Cc: Christoffer Dall <christoffer.dall@linaro.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm/kvm/mmu.c')
0 files changed, 0 insertions, 0 deletions