lkml.org 
[lkml]   [2006]   [Apr]   [1]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] Remove sys_ prefix of new syscalls from __NR_sys_*
FromOGAWA Hirofumi <>
DateSun, 02 Apr 2006 05:54:32 +0900
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 <hirofumi@mail.parknet.co.jp>
---
 include/asm-i386/unistd.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff -puN include/asm-i386/unistd.h~remove-sys_-prefix include/asm-i386/unistd.h
--- linux-2.6/include/asm-i386/unistd.h~remove-sys_-prefix	2006-04-02 05:23:57.000000000 +0900
+++ linux-2.6-hirofumi/include/asm-i386/unistd.h	2006-04-02 05:24:10.000000000 +0900
@@ -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
 
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-04-03 12:22    [from the cache]
©2003-2008