Skip to contentSkip to conversation

Add POLL_BUSY_LOOP symbol for older distros.

PATCH New Vinson Lee 1 participant 1 message Jul 14, 2015

lore
Share & tools
lore

Vinson Lee

author
#0 lore raw

PATCH 1/1 Add POLL_BUSY_LOOP symbol for older distros.

From: Vinson Lee <[email protected]>

POLL_BUSY_LOOP is not available until Linux 3.11.

---
 include/compat.h |    3 +++
 1 file changed, 3 insertions(+)
include/compat.h +3 -0
index 2eb8691..5451870 100644
@@ -1029,3 +1029,6 @@ struct kvm_get_htab_fd {
 #ifndef POLLFREE
 #define POLLFREE 0x4000
 #endif
+#ifndef POLL_BUSY_LOOP
+#define POLL_BUSY_LOOP 0x8000
+#endif
Signature · 1 line
1.7.9.5