Skip to content

Commit

Permalink
KVM: remove is_error_hpa
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Xiao Guangrong authored and Marcelo Tosatti committed Jul 20, 2012
1 parent ca0565f commit f340a51
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/linux/kvm_host.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f340a51

Please sign in to comment.