From f03d70a7fc952a7fd01c678ad409c932a925637b Mon Sep 17 00:00:00 2001 From: Helge Deller Date: Tue, 19 Feb 2013 22:55:17 +0100 Subject: parisc: sendfile and sendfile64 syscall cleanups Utilize the existing compat_sys_sendfile function for 64bit kernel and add wrappers for sendfile and sendfile64 to correctly handle the 32/64 bit sign extension. Signed-off-by: Helge Deller --- arch/parisc/include/asm/unistd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/parisc/include/asm/unistd.h') diff --git a/arch/parisc/include/asm/unistd.h b/arch/parisc/include/asm/unistd.h index f2e390fe74c..74f801ebbe7 100644 --- a/arch/parisc/include/asm/unistd.h +++ b/arch/parisc/include/asm/unistd.h @@ -167,6 +167,7 @@ type name(type1 arg1, type2 arg2, type3 arg3, type4 arg4, type5 arg5) \ #define __ARCH_WANT_SYS_FORK #define __ARCH_WANT_SYS_VFORK #define __ARCH_WANT_SYS_CLONE +#define __ARCH_WANT_COMPAT_SYS_SENDFILE #endif /* __ASSEMBLY__ */ -- cgit v1.2.3