Remove sys_ prefix of new syscalls from __NR_sys_*
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
@@ -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
_
Quoted 4 lines · OGAWA Hirofumi
On i386, we don't use
sys_prefix for __NR_*. This patch removes it. [FWIW, _syscall*() macros will generatefoo()instead ofsys_foo().]Signed-off-by OGAWA Hirofumi <[email protected]>
Thanks, I'll just shove that into the splice branch.
Signature · 1 line
Jens Axboe
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 generatefoo()instead ofsys_foo().]Signed-off-by OGAWA Hirofumi <[email protected]>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.
Quoted 7 lines · David S. Miller
From: Jens Axboe <[email protected]>
Date: Mon, 3 Apr 2006 09:28:57 +0200Quoted 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 generatefoo()instead ofsys_foo().]
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by OGAWA Hirofumi <[email protected]>Thanks, I'll just shove that into the splice branch.
Please update the other
include/asm-*/unistd.hfiles which use the same sys_* name.
Will do.
Signature · 1 line
Jens Axboe