mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
make kernel-side POLL... arch-independent
mangle/demangle on the way to/from userland Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
69112736e2
commit
c71d227fc4
10 changed files with 125 additions and 8 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue