Skip to contentSkip to conversation

Remove sys_ prefix of new syscalls from __NR_sys_*

PATCH In review OGAWA Hirofumi 3 participants 4 messages Apr 1, 2006 – Apr 3, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove sys_ prefix of new syscalls from __NR_sys_*

On i386, we don't use sys_ prefix for __NR_*. This patch removes it. [FWIW, _syscall*() macros will generate foo() instead of sys_foo().]

---

 include/asm-i386/unistd.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/asm-i386/unistd.h renamed from include/asm-i386/unistd.h~remove-sys_-prefix +2 -2
diff -puN include/asm-i386/unistd.h~remove-sys_-prefix include/asm-i386/unistd.h
@@ -318,8 +318,8 @@
 #define __NR_unshare		310
 #define __NR_set_robust_list	311
 #define __NR_get_robust_list	312
-#define __NR_sys_splice		313
-#define __NR_sys_sync_file_range 314
+#define __NR_splice		313
+#define __NR_sync_file_range	314
 
 #define NR_syscalls 315
 

_

#1 lore raw
Quoted 4 lines · OGAWA Hirofumi

On i386, we don't use sys_ prefix for __NR_*. This patch removes it. [FWIW, _syscall*() macros will generate foo() instead of sys_foo().]

Thanks, I'll just shove that into the splice branch.

Signature · 1 line
Jens Axboe
#2 lore raw

From: Jens Axboe <[email protected]>
Date: Mon, 3 Apr 2006 09:28:57 +0200

Quoted 7 lines · OGAWA Hirofumi
Quoted 4 lines

On i386, we don't use sys_ prefix for __NR_*. This patch removes it. [FWIW, _syscall*() macros will generate foo() instead of sys_foo().]

Thanks, I'll just shove that into the splice branch.

Please update the other include/asm-*/unistd.h files which use the same sys_* name.

Thanks.

#3 lore raw
Quoted 7 lines · David S. Miller

From: Jens Axboe <[email protected]>
Date: Mon, 3 Apr 2006 09:28:57 +0200

Quoted 4 lines · OGAWA Hirofumi
Quoted 3 lines

On i386, we don't use sys_ prefix for __NR_*. This patch removes it. [FWIW, _syscall*() macros will generate foo() instead of sys_foo().]

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

Thanks, I'll just shove that into the splice branch.

Please update the other include/asm-*/unistd.h files which use the same sys_* name.

Will do.

Signature · 1 line
Jens Axboe