Commit f340a51b authored by Xiao Guangrong's avatar Xiao Guangrong Committed by Marcelo Tosatti

KVM: remove is_error_hpa

Remove them since they are not used anymore
Signed-off-by: default avatarXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
parent ca0565f5
...@@ -378,10 +378,6 @@ id_to_memslot(struct kvm_memslots *slots, int id) ...@@ -378,10 +378,6 @@ id_to_memslot(struct kvm_memslots *slots, int id)
return slot; 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; extern struct page *bad_page;
int is_error_page(struct page *page); int is_error_page(struct page *page);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment