diff options
Diffstat (limited to 'arch/parisc/kernel/sys_parisc.c')
-rw-r--r-- | arch/parisc/kernel/sys_parisc.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/parisc/kernel/sys_parisc.c b/arch/parisc/kernel/sys_parisc.c index d15a1d53e101..8b5df98e2b31 100644 --- a/arch/parisc/kernel/sys_parisc.c +++ b/arch/parisc/kernel/sys_parisc.c | |||
@@ -231,6 +231,14 @@ asmlinkage long parisc_fadvise64_64(int fd, | |||
231 | (loff_t)high_len << 32 | low_len, advice); | 231 | (loff_t)high_len << 32 | low_len, advice); |
232 | } | 232 | } |
233 | 233 | ||
234 | asmlinkage long parisc_sync_file_range(int fd, | ||
235 | u32 hi_off, u32 lo_off, u32 hi_nbytes, u32 lo_nbytes, | ||
236 | unsigned int flags) | ||
237 | { | ||
238 | return sys_sync_file_range(fd, (loff_t)hi_off << 32 | lo_off, | ||
239 | (loff_t)hi_nbytes << 32 | lo_nbytes, flags); | ||
240 | } | ||
241 | |||
234 | asmlinkage unsigned long sys_alloc_hugepages(int key, unsigned long addr, unsigned long len, int prot, int flag) | 242 | asmlinkage unsigned long sys_alloc_hugepages(int key, unsigned long addr, unsigned long len, int prot, int flag) |
235 | { | 243 | { |
236 | return -ENOMEM; | 244 | return -ENOMEM; |