make kernel-side POLL... arch-independent
mangle/demangle on the way to/from userland Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -758,7 +758,7 @@ static void send_sigio_to_task(struct task_struct *p,
|
||||
if (reason - POLL_IN >= NSIGPOLL)
|
||||
si.si_band = ~0L;
|
||||
else
|
||||
si.si_band = (__force long)band_table[reason - POLL_IN];
|
||||
si.si_band = mangle_poll(band_table[reason - POLL_IN]);
|
||||
si.si_fd = fd;
|
||||
if (!do_send_sig_info(signum, &si, p, group))
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user