Ulrich Drepper <drepper@xxxxxxxxxx> wrote:
Davide Libenzi wrote:The attached patch implements the pepoll_wait system call, that extend
the event wait mechanism with the same logic ppoll and pselect do. The
definition of pepoll_wait is: [...]
I definitely ACK this patch, it's needed for the same reasons we need
pselect and ppoll.
It busts most architectures.
fs/eventpoll.c: In function `sys_pepoll_wait':
fs/eventpoll.c:727: error: `TIF_RESTORE_SIGMASK' undeclared (first use in this function)
It seems that the preferred way to fix this is to sprinkle #ifdef
TIF_RESTORE_SIGMASK all over the code.