diff options
| author | Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> | 2012-07-17 09:54:52 -0400 |
|---|---|---|
| committer | Marcelo Tosatti <mtosatti@redhat.com> | 2012-07-19 20:17:10 -0400 |
| commit | ca0565f5736e67af3172d188577b57e303dd082a (patch) | |
| tree | bef560242641ce58456cbee2b6c0771bf2b1f7a1 /include | |
| parent | 903816fa4d016e20ec71a1a97700cfcdda115580 (diff) | |
KVM: make bad_pfn static to kvm_main.c
bad_pfn is not used out of kvm_main.c, so mark it static, also move it near
hwpoison_pfn and fault_pfn
Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/kvm_host.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 1a7f838d30c6..5f956cde1374 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h | |||
| @@ -383,7 +383,6 @@ id_to_memslot(struct kvm_memslots *slots, int id) | |||
| 383 | static inline int is_error_hpa(hpa_t hpa) { return hpa >> HPA_MSB; } | 383 | static inline int is_error_hpa(hpa_t hpa) { return hpa >> HPA_MSB; } |
| 384 | 384 | ||
| 385 | extern struct page *bad_page; | 385 | extern struct page *bad_page; |
| 386 | extern pfn_t bad_pfn; | ||
| 387 | 386 | ||
| 388 | int is_error_page(struct page *page); | 387 | int is_error_page(struct page *page); |
| 389 | int is_error_pfn(pfn_t pfn); | 388 | int is_error_pfn(pfn_t pfn); |
