projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca0565f
)
KVM: remove is_error_hpa
author
Xiao Guangrong
<xiaoguangrong@linux.vnet.ibm.com>
Tue, 17 Jul 2012 13:55:34 +0000
(21:55 +0800)
committer
Marcelo 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
patch
|
blob
|
history
diff --git
a/include/linux/kvm_host.h
b/include/linux/kvm_host.h
index 5f956cde1374f48b11b096c6346458fb1e79aca6..e8d13a072d240744b14fca8e49efe86781aa480b 100644
(file)
--- 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);