summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2017-03-14 23:45:54 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-03-14 23:45:53 -0700
commit31af073d209b1b3460dba2671bbdf4388e6a0b22 (patch)
tree0a23ab14a43b6de7c87682e8904bcc722675742f
parent5362d67feb301ab7e27c844b52c024ee9aacf0a4 (diff)
parent99c4750fe5435e8d943d1a3b662b63e5455e4ba6 (diff)
Merge "epoll: Drop struct epoll_event definition"
-rw-r--r--include/uapi/linux/eventpoll.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/eventpoll.h b/include/uapi/linux/eventpoll.h
index bc81fb2e1f0e..47d6342b1c48 100644
--- a/include/uapi/linux/eventpoll.h
+++ b/include/uapi/linux/eventpoll.h
@@ -56,6 +56,7 @@
#define EPOLL_PACKED
#endif
+#ifdef __KERNEL__
struct epoll_event {
__u32 events;
__u64 data;
@@ -73,4 +74,5 @@ static inline void ep_take_care_of_epollwakeup(struct epoll_event *epev)
epev->events &= ~EPOLLWAKEUP;
}
#endif
+#endif /* __KERNEL__ */
#endif /* _UAPI_LINUX_EVENTPOLL_H */