From: Xiao Guangrong Date: Tue, 17 Jul 2012 13:55:34 +0000 (+0800) Subject: KVM: remove is_error_hpa X-Git-Tag: upstream/snapshot3+hdmi~6533^2~101^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f340a51b7e41abbe92ae3a327c0020974a059f95;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git KVM: remove is_error_hpa Remove them since they are not used anymore Signed-off-by: Xiao Guangrong Signed-off-by: Marcelo Tosatti --- diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 5f956cd..e8d13a0 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) 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);