From: OGAWA Hirofumi Date: Tue, 11 Apr 2006 12:00:04 +0000 (+0200) Subject: [PATCH] Remove sys_ prefix of new syscalls from __NR_sys_* X-Git-Tag: v2.6.17-rc2~107^2~1 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7519fdc90fe577cb966ab1ce2bf51ac639f05a0e;p=linux-2.6 [PATCH] 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().] Signed-off-by: OGAWA Hirofumi Signed-off-by: Jens Axboe --- diff --git a/include/asm-i386/unistd.h b/include/asm-i386/unistd.h index 2e7f3e257f..7b1ba84d4a 100644 --- a/include/asm-i386/unistd.h +++ b/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