aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGui Jianfeng <guijianfeng@cn.fujitsu.com>2010-04-16 05:19:48 -0400
committerAvi Kivity <avi@redhat.com>2010-05-17 05:18:10 -0400
commit2a059bf444dd7758ccf48f217cd981570132be85 (patch)
treedb0b01ed15d38a36e581156b4dd1394d7a4962c9 /include
parentb2fc15a5ef6679a5f87fee012a836294532bc628 (diff)
KVM: Get rid of dead function gva_to_page()
Nobody use gva_to_page() anymore, get rid of it. Signed-off-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/kvm_host.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index 1ed030bad59e..ce027d518096 100644
--- a/include/linux/kvm_host.h
+++ b/include/linux/kvm_host.h
@@ -260,7 +260,6 @@ static inline struct kvm_memslots *kvm_memslots(struct kvm *kvm)
260#define HPA_MSB ((sizeof(hpa_t) * 8) - 1) 260#define HPA_MSB ((sizeof(hpa_t) * 8) - 1)
261#define HPA_ERR_MASK ((hpa_t)1 << HPA_MSB) 261#define HPA_ERR_MASK ((hpa_t)1 << HPA_MSB)
262static inline int is_error_hpa(hpa_t hpa) { return hpa >> HPA_MSB; } 262static inline int is_error_hpa(hpa_t hpa) { return hpa >> HPA_MSB; }
263struct page *gva_to_page(struct kvm_vcpu *vcpu, gva_t gva);
264 263
265extern struct page *bad_page; 264extern struct page *bad_page;
266extern pfn_t bad_pfn; 265extern pfn_t bad_pfn;