Skip to contentSkip to conversation

syscalls: add comments show the define file for aio

PATCH In review yangerkun 2 participants 3 messages Jan 9, 2021

Subsystems (2)
lore
Share & tools
lore

yangerkun

author
#0 lore raw

PATCH 1/1 syscalls: add comments show the define file for aio

fs/aio.c define the syscalls for aio.

---
 include/uapi/asm-generic/unistd.h       | 1 +
 tools/include/uapi/asm-generic/unistd.h | 1 +
 2 files changed, 2 insertions(+)
include/uapi/asm-generic/unistd.h +1 -0
index 728752917785..84022c87ed49 100644
@@ -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
tools/include/uapi/asm-generic/unistd.h +1 -0
index 728752917785..84022c87ed49 100644
@@ -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
Signature · 1 line
2.25.4
maintainer
#1 lore raw
Quoted 3 lines · yangerkun

fs/aio.c define the syscalls for aio.

That (and the next patch) really ought to go to Arnd - I've very little to do with the unistd.h machinery.

author
#2 lore raw
Quoted 8 lines · Al Viro
Quoted 3 lines · yangerkun

fs/aio.c define the syscalls for aio.

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!

Quoted 1 line