KVM: mark kvm->busses as rcu protected
authorChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 7 Jul 2017 08:51:38 +0000 (10:51 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 7 Jul 2017 13:24:16 +0000 (15:24 +0200)
commit4a12f95177280a660bda99e81838919b1cc6a91a
tree9827942e84388870dbe100d974e6d91178c48db6
parent5535f800b0e1533e5f3a1428f6ef25eb29eccc0f
KVM: mark kvm->busses as rcu protected

mark kvm->busses as rcu protected and use the correct access
function everywhere.

found by sparse
virt/kvm/kvm_main.c:3490:15: error: incompatible types in comparison expression (different address spaces)
virt/kvm/kvm_main.c:3509:15: error: incompatible types in comparison expression (different address spaces)
virt/kvm/kvm_main.c:3561:15: error: incompatible types in comparison expression (different address spaces)
virt/kvm/kvm_main.c:3644:15: error: incompatible types in comparison expression (different address spaces)

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
include/linux/kvm_host.h
virt/kvm/eventfd.c
virt/kvm/kvm_main.c