summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-04-18 12:35:19 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-04-18 10:39:20 -0700
commitf1233ab2cebb22a98df55de206a33a6693e3a78b (patch)
tree0f5a5dd65e8e91273f1118d3d54d3517964768a3 /include
parent6fa679fdea22cd96287d4aa11ee771bcd46c6dfb (diff)
downloadop-kernel-dev-f1233ab2cebb22a98df55de206a33a6693e3a78b.zip
op-kernel-dev-f1233ab2cebb22a98df55de206a33a6693e3a78b.tar.gz
[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>
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86_64/unistd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-x86_64/unistd.h b/include/asm-x86_64/unistd.h
index d86494e..98c36ea 100644
--- a/include/asm-x86_64/unistd.h
+++ b/include/asm-x86_64/unistd.h
@@ -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
OpenPOWER on IntegriCloud