diff options
Diffstat (limited to 'drivers/kvm/kvm.h')
-rw-r--r-- | drivers/kvm/kvm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h index 9c9c1d7f5b30..d56962d49aa6 100644 --- a/drivers/kvm/kvm.h +++ b/drivers/kvm/kvm.h | |||
@@ -554,7 +554,7 @@ void kvm_mmu_slot_remove_write_access(struct kvm *kvm, int slot); | |||
554 | void kvm_mmu_zap_all(struct kvm *kvm); | 554 | void kvm_mmu_zap_all(struct kvm *kvm); |
555 | void kvm_mmu_change_mmu_pages(struct kvm *kvm, unsigned int kvm_nr_mmu_pages); | 555 | void kvm_mmu_change_mmu_pages(struct kvm *kvm, unsigned int kvm_nr_mmu_pages); |
556 | 556 | ||
557 | hpa_t gpa_to_hpa(struct kvm_vcpu *vcpu, gpa_t gpa); | 557 | hpa_t gpa_to_hpa(struct kvm *kvm, gpa_t gpa); |
558 | #define HPA_MSB ((sizeof(hpa_t) * 8) - 1) | 558 | #define HPA_MSB ((sizeof(hpa_t) * 8) - 1) |
559 | #define HPA_ERR_MASK ((hpa_t)1 << HPA_MSB) | 559 | #define HPA_ERR_MASK ((hpa_t)1 << HPA_MSB) |
560 | static inline int is_error_hpa(hpa_t hpa) { return hpa >> HPA_MSB; } | 560 | static inline int is_error_hpa(hpa_t hpa) { return hpa >> HPA_MSB; } |