mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
make SYSCALL_DEFINE<n>-generated wrappers do asmlinkage_protect
... and switch i386 to HAVE_SYSCALL_WRAPPERS, killing open-coded uses of asmlinkage_protect() in a bunch of syscalls. Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
22d1a35da0
commit
2cf0966683
9 changed files with 31 additions and 89 deletions
2
fs/aio.c
2
fs/aio.c
|
|
@ -1790,7 +1790,5 @@ SYSCALL_DEFINE5(io_getevents, aio_context_t, ctx_id,
|
|||
ret = read_events(ioctx, min_nr, nr, events, timeout);
|
||||
put_ioctx(ioctx);
|
||||
}
|
||||
|
||||
asmlinkage_protect(5, ret, ctx_id, min_nr, nr, events, timeout);
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue