diff options
Diffstat (limited to 'arch/powerpc/kernel/sys_ppc32.c')
-rw-r--r-- | arch/powerpc/kernel/sys_ppc32.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/sys_ppc32.c b/arch/powerpc/kernel/sys_ppc32.c index b42cbf1e2d7d..bd85b5fd08c8 100644 --- a/arch/powerpc/kernel/sys_ppc32.c +++ b/arch/powerpc/kernel/sys_ppc32.c | |||
@@ -773,6 +773,13 @@ asmlinkage int compat_sys_truncate64(const char __user * path, u32 reg4, | |||
773 | return sys_truncate(path, (high << 32) | low); | 773 | return sys_truncate(path, (high << 32) | low); |
774 | } | 774 | } |
775 | 775 | ||
776 | asmlinkage long compat_sys_fallocate(int fd, int mode, u32 offhi, u32 offlo, | ||
777 | u32 lenhi, u32 lenlo) | ||
778 | { | ||
779 | return sys_fallocate(fd, mode, ((loff_t)offhi << 32) | offlo, | ||
780 | ((loff_t)lenhi << 32) | lenlo); | ||
781 | } | ||
782 | |||
776 | asmlinkage int compat_sys_ftruncate64(unsigned int fd, u32 reg4, unsigned long high, | 783 | asmlinkage int compat_sys_ftruncate64(unsigned int fd, u32 reg4, unsigned long high, |
777 | unsigned long low) | 784 | unsigned long low) |
778 | { | 785 | { |