]> git.itanic.dy.fi Git - linux-stable/commit
xtensa: provide __NR_sync_file_range2 instead of __NR_sync_file_range
authorMax Filippov <jcmvbkbc@gmail.com>
Fri, 27 Feb 2015 08:02:38 +0000 (11:02 +0300)
committerJiri Slaby <jslaby@suse.cz>
Mon, 4 May 2015 09:50:13 +0000 (11:50 +0200)
commitf7000522e85ef754db1bd73f8ccdb1990178c23d
treea82d3f95fe893277c223a8ffbb6f9de1f16dd627
parentdaf87596a7be66054c13f59dfbe3997b8aa69028
xtensa: provide __NR_sync_file_range2 instead of __NR_sync_file_range

commit 01e84c70fe40c8111f960987bcf7f931842e6d07 upstream.

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.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
arch/xtensa/include/uapi/asm/unistd.h