Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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);