All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] syscalls: add comments show the define file for aio
@ 2021-01-09  3:14 yangerkun
  2021-01-09  4:58 ` Al Viro
  0 siblings, 1 reply; 3+ messages in thread
From: yangerkun @ 2021-01-09  3:14 UTC (permalink / raw)
  To: viro; +Cc: linux-fsdevel

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(+)

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
-- 
2.25.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] syscalls: add comments show the define file for aio
  2021-01-09  3:14 [PATCH] syscalls: add comments show the define file for aio yangerkun
@ 2021-01-09  4:58 ` Al Viro
  2021-01-09  6:51   ` yangerkun
  0 siblings, 1 reply; 3+ messages in thread
From: Al Viro @ 2021-01-09  4:58 UTC (permalink / raw)
  To: yangerkun; +Cc: linux-fsdevel

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] syscalls: add comments show the define file for aio
  2021-01-09  4:58 ` Al Viro
@ 2021-01-09  6:51   ` yangerkun
  0 siblings, 0 replies; 3+ messages in thread
From: yangerkun @ 2021-01-09  6:51 UTC (permalink / raw)
  To: Al Viro; +Cc: linux-fsdevel



在 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!

> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-09  6:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-09  3:14 [PATCH] syscalls: add comments show the define file for aio yangerkun
2021-01-09  4:58 ` Al Viro
2021-01-09  6:51   ` yangerkun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.