diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-07-25 22:38:24 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-07-31 16:35:22 -0400 |
commit | 4dc467756e77838c592a6dc797434f11761d33f5 (patch) | |
tree | 81db3f8a1fc495e70841d9bf4ec1e993d59344f2 /arch/mips/kernel/linux32.c | |
parent | 293c5bd13f124c325f74f89ad26edf5612ce7235 (diff) |
[MIPS] Wire up the fallocate syscall.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/linux32.c')
-rw-r--r-- | arch/mips/kernel/linux32.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/mips/kernel/linux32.c b/arch/mips/kernel/linux32.c index c37568d6fb55..135d9a5fe337 100644 --- a/arch/mips/kernel/linux32.c +++ b/arch/mips/kernel/linux32.c | |||
@@ -566,6 +566,13 @@ asmlinkage long sys32_fadvise64_64(int fd, int __pad, | |||
566 | flags); | 566 | flags); |
567 | } | 567 | } |
568 | 568 | ||
569 | asmlinkage long sys32_fallocate(int fd, int mode, unsigned offset_a2, | ||
570 | unsigned offset_a3, unsigned len_a4, unsigned len_a5) | ||
571 | { | ||
572 | return sys_fallocate(fd, mode, merge_64(offset_a2, offset_a3), | ||
573 | merge_64(len_a4, len_a5)); | ||
574 | } | ||
575 | |||
569 | save_static_function(sys32_clone); | 576 | save_static_function(sys32_clone); |
570 | static int noinline __used | 577 | static int noinline __used |
571 | _sys32_clone(nabi_no_regargs struct pt_regs regs) | 578 | _sys32_clone(nabi_no_regargs struct pt_regs regs) |