Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] x86_64: Add tee and sync_file_range

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>

authored by

Andi Kleen and committed by
Linus Torvalds
f1233ab2 6fa679fd

+4 -1
+1
arch/x86_64/ia32/ia32entry.S
··· 694 694 .quad compat_sys_get_robust_list 695 695 .quad sys_splice 696 696 .quad sys_sync_file_range 697 + .quad sys_tee 697 698 ia32_syscall_end:
+3 -1
include/asm-x86_64/unistd.h
··· 613 613 __SYSCALL(__NR_splice, sys_splice) 614 614 #define __NR_tee 276 615 615 __SYSCALL(__NR_tee, sys_tee) 616 + #define __NR_sync_file_range 277 617 + __SYSCALL(__NR_sync_file_range, sys_sync_file_range) 616 618 617 - #define __NR_syscall_max __NR_tee 619 + #define __NR_syscall_max __NR_sync_file_range 618 620 619 621 #ifndef __NO_STUBS 620 622