aboutsummaryrefslogtreecommitdiff
path: root/arch/parisc/kernel/sys_parisc32.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2007-10-22 16:28:19 +0000
committerSteve French <sfrench@us.ibm.com>2007-10-22 16:28:19 +0000
commit7efb35af738e96565934cc640d863eb18dba0206 (patch)
tree29ed331d864b0cfa73fdca5fd3982896e56f9530 /arch/parisc/kernel/sys_parisc32.c
parent748c5151deb56e4b7b5a9b07a884243764933831 (diff)
parent55b70a0300b873c0ec7ea6e33752af56f41250ce (diff)
Merge branch 'master' of /pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'arch/parisc/kernel/sys_parisc32.c')
-rw-r--r--arch/parisc/kernel/sys_parisc32.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/parisc/kernel/sys_parisc32.c b/arch/parisc/kernel/sys_parisc32.c
index 2989c6682bf..50bbf33ee00 100644
--- a/arch/parisc/kernel/sys_parisc32.c
+++ b/arch/parisc/kernel/sys_parisc32.c
@@ -473,3 +473,10 @@ long sys32_lookup_dcookie(u32 cookie_high, u32 cookie_low, char __user *buf,
return sys_lookup_dcookie((u64)cookie_high << 32 | cookie_low,
buf, len);
}
+
+asmlinkage long compat_sys_fallocate(int fd, int mode, u32 offhi, u32 offlo,
+ u32 lenhi, u32 lenlo)
+{
+ return sys_fallocate(fd, mode, ((loff_t)offhi << 32) | offlo,
+ ((loff_t)lenhi << 32) | lenlo);
+}