[PATCH kvm-kmod 1/3] FOLL_TRIED is not available before 3.18

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Just do not pass it, which is roughly the same behavior that KVM had
until 3.17.  Passing a non-existing flag could have unanticipated
effects.

Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
---
 external-module-compat-comm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/external-module-compat-comm.h b/external-module-compat-comm.h
index e03a81a..dff603f 100644
--- a/external-module-compat-comm.h
+++ b/external-module-compat-comm.h
@@ -1419,5 +1419,5 @@ extern u64 kvm_get_boot_base_ns(struct timekeeper *tk);
 #endif
 
 #ifndef FOLL_TRIED
-#define FOLL_TRIED	0x800	/* a retry, previous pass started an IO */
+#define FOLL_TRIED 0
 #endif
-- 
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




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux