|
@@ -213,6 +213,13 @@ asmlinkage long parisc_sync_file_range(int fd,
|
|
|
(loff_t)hi_nbytes << 32 | lo_nbytes, flags);
|
|
|
}
|
|
|
|
|
|
+asmlinkage long parisc_fallocate(int fd, int mode, u32 offhi, u32 offlo,
|
|
|
+ u32 lenhi, u32 lenlo)
|
|
|
+{
|
|
|
+ return sys_fallocate(fd, mode, ((u64)offhi << 32) | offlo,
|
|
|
+ ((u64)lenhi << 32) | lenlo);
|
|
|
+}
|
|
|
+
|
|
|
asmlinkage unsigned long sys_alloc_hugepages(int key, unsigned long addr, unsigned long len, int prot, int flag)
|
|
|
{
|
|
|
return -ENOMEM;
|