diff options
Diffstat (limited to 'arch/powerpc/include/asm/kvm_book3s_64.h')
-rw-r--r-- | arch/powerpc/include/asm/kvm_book3s_64.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/kvm_book3s_64.h b/arch/powerpc/include/asm/kvm_book3s_64.h index 3536d12eb798..2aa79c864e91 100644 --- a/arch/powerpc/include/asm/kvm_book3s_64.h +++ b/arch/powerpc/include/asm/kvm_book3s_64.h | |||
@@ -430,7 +430,7 @@ static inline void note_hpte_modification(struct kvm *kvm, | |||
430 | */ | 430 | */ |
431 | static inline struct kvm_memslots *kvm_memslots_raw(struct kvm *kvm) | 431 | static inline struct kvm_memslots *kvm_memslots_raw(struct kvm *kvm) |
432 | { | 432 | { |
433 | return rcu_dereference_raw_notrace(kvm->memslots); | 433 | return rcu_dereference_raw_notrace(kvm->memslots[0]); |
434 | } | 434 | } |
435 | 435 | ||
436 | extern void kvmppc_mmu_debugfs_init(struct kvm *kvm); | 436 | extern void kvmppc_mmu_debugfs_init(struct kvm *kvm); |