zero_pfn is not exported before 3.17. Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx> --- external-module-compat-comm.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/external-module-compat-comm.h b/external-module-compat-comm.h index dff603f..c20b1ed 100644 --- a/external-module-compat-comm.h +++ b/external-module-compat-comm.h @@ -1421,3 +1421,6 @@ extern u64 kvm_get_boot_base_ns(struct timekeeper *tk); #ifndef FOLL_TRIED #define FOLL_TRIED 0 #endif + +#undef is_zero_pfn +#define is_zero_pfn(pfn) ((pfn) == page_to_pfn(ZERO_PAGE(0))) -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html