diff options
author | Avi Kivity <avi@qumranet.com> | 2007-11-21 07:57:44 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 10:53:11 -0500 |
commit | 0d81f2966a61953c4cc7397342f5f907b3a6e257 (patch) | |
tree | afee0fa810fa862c3fa8f9ee765c959b6931dffc /drivers/kvm/kvm.h | |
parent | 3f3e7124f66df2d36751b0c97eabe38a13752fff (diff) |
KVM: MMU: Remove gva_to_hpa()
No longer used.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/kvm.h')
-rw-r--r-- | drivers/kvm/kvm.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h index eda82cded88e..31315bcf09c3 100644 --- a/drivers/kvm/kvm.h +++ b/drivers/kvm/kvm.h | |||
@@ -379,7 +379,6 @@ hpa_t gpa_to_hpa(struct kvm *kvm, gpa_t gpa); | |||
379 | #define HPA_MSB ((sizeof(hpa_t) * 8) - 1) | 379 | #define HPA_MSB ((sizeof(hpa_t) * 8) - 1) |
380 | #define HPA_ERR_MASK ((hpa_t)1 << HPA_MSB) | 380 | #define HPA_ERR_MASK ((hpa_t)1 << HPA_MSB) |
381 | static inline int is_error_hpa(hpa_t hpa) { return hpa >> HPA_MSB; } | 381 | static inline int is_error_hpa(hpa_t hpa) { return hpa >> HPA_MSB; } |
382 | hpa_t gva_to_hpa(struct kvm_vcpu *vcpu, gva_t gva); | ||
383 | struct page *gva_to_page(struct kvm_vcpu *vcpu, gva_t gva); | 382 | struct page *gva_to_page(struct kvm_vcpu *vcpu, gva_t gva); |
384 | 383 | ||
385 | extern struct page *bad_page; | 384 | extern struct page *bad_page; |