]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
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)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 3 Dec 2013 14:35:52 +0000 (15:35 +0100)
commit95f19f658ce177387345b51bd48fed7b9cd7d4e8
tree90ab9da7e5f8033a9133293f6793916e65a758be
parentdc1ccc48159d63eca5089e507c82c7d22ef60839
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>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
fs/eventpoll.c
include/uapi/linux/eventpoll.h