epoll: drop EPOLLWAKEUP if PM_SLEEP is disabled
authorAmit Pundir <amit.pundir@linaro.org>
Fri, 15 Nov 2013 07:26:31 +0000 (12:56 +0530)
committerJohn Stultz <john.stultz@linaro.org>
Mon, 25 Nov 2013 19:05:09 +0000 (11:05 -0800)
commit90a332678deb2d8b2aae19aee8b9181f298b503a
treefccd1c0877bb6e4ee53faaf36c54e02e519d2cb9
parent2c6193b7527e92a5916e6f798ddf47401afa17c3
epoll: drop EPOLLWAKEUP if PM_SLEEP is disabled

Drop EPOLLWAKEUP from epoll events mask if CONFIG_PM_SLEEP is disabled.

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
fs/eventpoll.c
include/uapi/linux/eventpoll.h