summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@quicinc.com>2018-02-06 15:07:47 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2018-02-06 15:07:46 -0800
commit53c56ac0a5b244f4765571c5a22009f7cb9f80b3 (patch)
tree053ff05a79febc261f0658c4c591f966a601f465 /include/uapi/linux
parent6cb84eed2dbb67447b07a927d8e92a2403a9d94e (diff)
parent38cacfd106259c2f10d8ee33047b7212d7844732 (diff)
Merge "Merge android-4.4.114 (fe09418) into msm-4.4"
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/eventpoll.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/uapi/linux/eventpoll.h b/include/uapi/linux/eventpoll.h
index 47d6342b1c48..b9670d44654a 100644
--- a/include/uapi/linux/eventpoll.h
+++ b/include/uapi/linux/eventpoll.h
@@ -26,6 +26,19 @@
#define EPOLL_CTL_DEL 2
#define EPOLL_CTL_MOD 3
+/* Epoll event masks */
+#define EPOLLIN 0x00000001
+#define EPOLLPRI 0x00000002
+#define EPOLLOUT 0x00000004
+#define EPOLLERR 0x00000008
+#define EPOLLHUP 0x00000010
+#define EPOLLRDNORM 0x00000040
+#define EPOLLRDBAND 0x00000080
+#define EPOLLWRNORM 0x00000100
+#define EPOLLWRBAND 0x00000200
+#define EPOLLMSG 0x00000400
+#define EPOLLRDHUP 0x00002000
+
/*
* Request the handling of system wakeup events so as to prevent system suspends
* from happening while those events are being processed.