diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-11-29 19:00:41 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-11-29 19:00:41 -0500 |
commit | c71d227fc4133f949dae620ed5e3a250b43f2415 (patch) | |
tree | ce12b907996c2acd37e9d86f4ba492b09a0ab0f8 /fs/fcntl.c | |
parent | 69112736e2f025ff3ba280cf81c36e25cf7cc59f (diff) |
make kernel-side POLL... arch-independent
mangle/demangle on the way to/from userland
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/fcntl.c')
-rw-r--r-- | fs/fcntl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fcntl.c b/fs/fcntl.c index afe731c7a5a8..84bab55b4712 100644 --- a/fs/fcntl.c +++ b/fs/fcntl.c | |||
@@ -758,7 +758,7 @@ static void send_sigio_to_task(struct task_struct *p, | |||
758 | if (reason - POLL_IN >= NSIGPOLL) | 758 | if (reason - POLL_IN >= NSIGPOLL) |
759 | si.si_band = ~0L; | 759 | si.si_band = ~0L; |
760 | else | 760 | else |
761 | si.si_band = (__force long)band_table[reason - POLL_IN]; | 761 | si.si_band = mangle_poll(band_table[reason - POLL_IN]); |
762 | si.si_fd = fd; | 762 | si.si_fd = fd; |
763 | if (!do_send_sig_info(signum, &si, p, group)) | 763 | if (!do_send_sig_info(signum, &si, p, group)) |
764 | break; | 764 | break; |