diff mbox series

syscalls: add comments show the define file for aio

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

Commit Message

yangerkun Jan. 9, 2021, 3:14 a.m. UTC
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(+)

Comments

Al Viro Jan. 9, 2021, 4:58 a.m. UTC | #1
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.
yangerkun Jan. 9, 2021, 6:51 a.m. UTC | #2
在 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 mbox series

Patch

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