aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/sys_sparc32.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-03-31 23:49:34 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-31 23:49:34 -0800
commit289eee6fa78e999208120c856ef3ae5a817fd59c (patch)
treeeadce5571447bf91d3e274464c57605f73c3b3ee /arch/sparc64/kernel/sys_sparc32.c
parent[SPARC]: Wire up sys_splice() into the syscall tables. (diff)
downloadlinux-dev-289eee6fa78e999208120c856ef3ae5a817fd59c.tar.xz
linux-dev-289eee6fa78e999208120c856ef3ae5a817fd59c.zip
[SPARC]: Wire up sys_sync_file_range() into syscall tables.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/sys_sparc32.c')
-rw-r--r--arch/sparc64/kernel/sys_sparc32.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/sys_sparc32.c b/arch/sparc64/kernel/sys_sparc32.c
index 2e906bad56fa..31030bf00f1a 100644
--- a/arch/sparc64/kernel/sys_sparc32.c
+++ b/arch/sparc64/kernel/sys_sparc32.c
@@ -1069,3 +1069,11 @@ long sys32_lookup_dcookie(unsigned long cookie_high,
return sys_lookup_dcookie((cookie_high << 32) | cookie_low,
buf, len);
}
+
+long compat_sync_file_range(int fd, unsigned long off_high, unsigned long off_low, unsigned long nb_high, unsigned long nb_low, int flags)
+{
+ return sys_sync_file_range(fd,
+ (off_high << 32) | off_low,
+ (nb_high << 32) | nb_low,
+ flags);
+}