From: Vinson Lee <vlee@twopensource.com>
To: trinity@vger.kernel.org
Cc: Vinson Lee <vlee@twitter.com>
Subject: [PATCH] Add POLL_BUSY_LOOP symbol for older distros.
Date: Tue, 14 Jul 2015 11:25:55 -0700 [thread overview]
Message-ID: <1436898355-25252-1-git-send-email-vlee@twopensource.com> (raw)
From: Vinson Lee <vlee@twitter.com>
POLL_BUSY_LOOP is not available until Linux 3.11.
Signed-off-by: Vinson Lee <vlee@twitter.com>
---
include/compat.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/compat.h b/include/compat.h
index 2eb8691..5451870 100644
--- a/include/compat.h
+++ b/include/compat.h
@@ -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
--
1.7.9.5
reply other threads:[~2015-07-14 18:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1436898355-25252-1-git-send-email-vlee@twopensource.com \
--to=vlee@twopensource.com \
--cc=trinity@vger.kernel.org \
--cc=vlee@twitter.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).