commit | a80cf7b5f4149753d5f19c872a47e66195b167d4 | [log] [tgz] |
---|---|---|
author | Christian Borntraeger <borntraeger@de.ibm.com> | Thu Jul 06 16:17:14 2017 +0200 |
committer | Christian Borntraeger <borntraeger@de.ibm.com> | Fri Jul 07 15:24:17 2017 +0200 |
tree | fae2662f53c9922277dfd6772a6018ac533e0a36 | |
parent | 4a12f95177280a660bda99e81838919b1cc6a91a [diff] |
KVM: mark memory slots as rcu we access the memslots array via srcu. Mark it as such and use the right access functions also for the freeing of memory slots. Found by sparse: ./include/linux/kvm_host.h:565:16: error: incompatible types in comparison expression (different address spaces) Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>