Message ID | 20210109031416.1375292-1-yangerkun@huawei.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | syscalls: add comments show the define file for aio | expand |
On Sat, Jan 09, 2021 at 11:14:16AM +0800, yangerkun wrote: > fs/aio.c define the syscalls for aio. > > Signed-off-by: yangerkun <yangerkun@huawei.com> That (and the next patch) really ought to go to Arnd - I've very little to do with the unistd.h machinery.
在 2021/1/9 12:58, Al Viro 写道: > On Sat, Jan 09, 2021 at 11:14:16AM +0800, yangerkun wrote: >> fs/aio.c define the syscalls for aio. >> >> Signed-off-by: yangerkun <yangerkun@huawei.com> > > That (and the next patch) really ought to go to Arnd - I've very little > to do with the unistd.h machinery. > . Thanks! Will resend patch to Arnd! >
diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h index 728752917785..84022c87ed49 100644 --- a/include/uapi/asm-generic/unistd.h +++ b/include/uapi/asm-generic/unistd.h @@ -30,6 +30,7 @@ #define __SC_COMP_3264(_nr, _32, _64, _comp) __SC_3264(_nr, _32, _64) #endif +/* fs/aio.c */ #define __NR_io_setup 0 __SC_COMP(__NR_io_setup, sys_io_setup, compat_sys_io_setup) #define __NR_io_destroy 1 diff --git a/tools/include/uapi/asm-generic/unistd.h b/tools/include/uapi/asm-generic/unistd.h index 728752917785..84022c87ed49 100644 --- a/tools/include/uapi/asm-generic/unistd.h +++ b/tools/include/uapi/asm-generic/unistd.h @@ -30,6 +30,7 @@ #define __SC_COMP_3264(_nr, _32, _64, _comp) __SC_3264(_nr, _32, _64) #endif +/* fs/aio.c */ #define __NR_io_setup 0 __SC_COMP(__NR_io_setup, sys_io_setup, compat_sys_io_setup) #define __NR_io_destroy 1
fs/aio.c define the syscalls for aio. Signed-off-by: yangerkun <yangerkun@huawei.com> --- include/uapi/asm-generic/unistd.h | 1 + tools/include/uapi/asm-generic/unistd.h | 1 + 2 files changed, 2 insertions(+)