lkml.org 
[lkml]   [2006]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [patch 1/1] sys_sync_file_range()
On Tue, 4 Apr 2006 13:50:55 -0700 Luck, Tony wrote:

> On Wed, Mar 29, 2006 at 11:41:11PM -0800, akpm@osdl.org wrote:
> > @@ -318,8 +318,9 @@
> > #define __NR_unshare 310
> > #define __NR_set_robust_list 311
> > #define __NR_get_robust_list 312
> > +#define __NR_sys_sync_file_range 313
>
> What's up with the __NR_sys_yada_yada? Except for recent entries (kexec,
> splice, and now sync_file_range) all of the other names in here have
> dropped the "sys_".
>
> Is it too late to fix __NR_sys_kexec_load (since it is out in the
> wild now?)

already been done: (copy-n-paste warning here:)
~~~~~
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

---
~Randy
-
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-04 23:02    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site