]> Pileus Git - ~andy/linux/commitdiff
KVM: remove is_error_hpa
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Tue, 17 Jul 2012 13:55:34 +0000 (21:55 +0800)
committerMarcelo Tosatti <mtosatti@redhat.com>
Fri, 20 Jul 2012 00:23:49 +0000 (21:23 -0300)
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>
include/linux/kvm_host.h

index 5f956cde1374f48b11b096c6346458fb1e79aca6..e8d13a072d240744b14fca8e49efe86781aa480b 100644 (file)
@@ -378,10 +378,6 @@ id_to_memslot(struct kvm_memslots *slots, int id)
        return slot;
 }
 
-#define HPA_MSB ((sizeof(hpa_t) * 8) - 1)
-#define HPA_ERR_MASK ((hpa_t)1 << HPA_MSB)
-static inline int is_error_hpa(hpa_t hpa) { return hpa >> HPA_MSB; }
-
 extern struct page *bad_page;
 
 int is_error_page(struct page *page);