]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[PATCH] x86_64: Add tee and sync_file_range
authorAndi Kleen <ak@suse.de>
Tue, 18 Apr 2006 10:35:19 +0000 (12:35 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 18 Apr 2006 17:39:20 +0000 (10:39 -0700)
tee was already there for some reason for native 64bit, but
sys_sync_file_range was missing. Also add it to the compat layer.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/ia32/ia32entry.S
include/asm-x86_64/unistd.h

index 5a9802676689ec79d618b3733eaa7aec26363311..57fc37e0fb9c16d044156749c31157ef85a6302b 100644 (file)
@@ -694,4 +694,5 @@ ia32_sys_call_table:
        .quad compat_sys_get_robust_list
        .quad sys_splice
        .quad sys_sync_file_range
+       .quad sys_tee
 ia32_syscall_end:              
index d86494e23b638460557133d1f388f5c18030b17b..98c36eae567c0fc0d593d0af3974a71492f62b72 100644 (file)
@@ -613,8 +613,10 @@ __SYSCALL(__NR_get_robust_list, sys_get_robust_list)
 __SYSCALL(__NR_splice, sys_splice)
 #define __NR_tee               276
 __SYSCALL(__NR_tee, sys_tee)
+#define __NR_sync_file_range   277
+__SYSCALL(__NR_sync_file_range, sys_sync_file_range)
 
-#define __NR_syscall_max __NR_tee
+#define __NR_syscall_max __NR_sync_file_range
 
 #ifndef __NO_STUBS