]> git.baikalelectronics.ru Git - kernel.git/commit
epoll keyed wakeups: introduce new *_poll() wakeup macros
authorDavide Libenzi <davidel@xmailserver.org>
Tue, 31 Mar 2009 22:24:20 +0000 (15:24 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Apr 2009 15:59:20 +0000 (08:59 -0700)
commitbf509b81514f928a507f0690de59a023d88bdabe
tree4bcc83b718a284808d01929b662ee95fb0c49e8b
parent42c2e105fb0365619c1bba07fd26737c91d5d696
epoll keyed wakeups: introduce new *_poll() wakeup macros

Introduce new wakeup macros that allow passing an event mask to the wakeup
targets.  They exactly mimic their non-_poll() counterpart, with the added
event mask passing capability.  I did add only the ones currently
requested, avoiding the _nr() and _all() for the moment.

Signed-off-by: Davide Libenzi <davidel@xmailserver.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: David Miller <davem@davemloft.net>
Cc: William Lee Irwin III <wli@movementarian.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/wait.h