aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kvm_host.h
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>2012-07-17 09:55:34 -0400
committerMarcelo Tosatti <mtosatti@redhat.com>2012-07-19 20:23:49 -0400
commitf340a51b7e41abbe92ae3a327c0020974a059f95 (patch)
tree43356efa06804885988bde261c85a156699f1e48 /include/linux/kvm_host.h
parentca0565f5736e67af3172d188577b57e303dd082a (diff)
KVM: remove is_error_hpa
Remove them since they are not used anymore Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'include/linux/kvm_host.h')
-rw-r--r--include/linux/kvm_host.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index 5f956cde1374..e8d13a072d24 100644
--- a/include/linux/kvm_host.h
+++ b/include/linux/kvm_host.h
@@ -378,10 +378,6 @@ id_to_memslot(struct kvm_memslots *slots, int id)
378 return slot; 378 return slot;
379} 379}
380 380
381#define HPA_MSB ((sizeof(hpa_t) * 8) - 1)
382#define HPA_ERR_MASK ((hpa_t)1 << HPA_MSB)
383static inline int is_error_hpa(hpa_t hpa) { return hpa >> HPA_MSB; }
384
385extern struct page *bad_page; 381extern struct page *bad_page;
386 382
387int is_error_page(struct page *page); 383int is_error_page(struct page *page);