aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa/include/uapi/asm
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2015-02-27 03:02:38 -0500
committerMax Filippov <jcmvbkbc@gmail.com>2015-03-04 04:07:05 -0500
commit01e84c70fe40c8111f960987bcf7f931842e6d07 (patch)
tree34b5c4e544813578b5d449beb0bf682c548315f5 /arch/xtensa/include/uapi/asm
parentd44679ab13ee5f2f2b80e1bfa039a6eeb20ec41e (diff)
xtensa: provide __NR_sync_file_range2 instead of __NR_sync_file_range
xtensa actually uses sync_file_range2 implementation, so it should define __NR_sync_file_range2 as other architectures that use that function. That fixes userspace interface (that apparently never worked) and avoids special-casing xtensa in libc implementations. See the thread ending at http://lists.busybox.net/pipermail/uclibc/2015-February/048833.html for more details. Cc: stable@vger.kernel.org Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/include/uapi/asm')
-rw-r--r--arch/xtensa/include/uapi/asm/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/include/uapi/asm/unistd.h b/arch/xtensa/include/uapi/asm/unistd.h
index 9d30db15ccb9..b95c30594355 100644
--- a/arch/xtensa/include/uapi/asm/unistd.h
+++ b/arch/xtensa/include/uapi/asm/unistd.h
@@ -715,7 +715,7 @@ __SYSCALL(323, sys_process_vm_writev, 6)
715__SYSCALL(324, sys_name_to_handle_at, 5) 715__SYSCALL(324, sys_name_to_handle_at, 5)
716#define __NR_open_by_handle_at 325 716#define __NR_open_by_handle_at 325
717__SYSCALL(325, sys_open_by_handle_at, 3) 717__SYSCALL(325, sys_open_by_handle_at, 3)
718#define __NR_sync_file_range 326 718#define __NR_sync_file_range2 326
719__SYSCALL(326, sys_sync_file_range2, 6) 719__SYSCALL(326, sys_sync_file_range2, 6)
720#define __NR_perf_event_open 327 720#define __NR_perf_event_open 327
721__SYSCALL(327, sys_perf_event_open, 5) 721__SYSCALL(327, sys_perf_event_open, 5)