aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/include/asm/unistd.h
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2013-02-19 16:55:17 -0500
committerHelge Deller <deller@gmx.de>2013-02-20 16:57:30 -0500
commitf03d70a7fc952a7fd01c678ad409c932a925637b (patch)
tree8865eacae776eaddfd3d05416995e052de11853b /arch/parisc/include/asm/unistd.h
parente27da28a565e2a4d82a2d1adc9e0ba4aadd61e97 (diff)
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 <deller@gmx.de>
Diffstat (limited to 'arch/parisc/include/asm/unistd.h')
-rw-r--r--arch/parisc/include/asm/unistd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/parisc/include/asm/unistd.h b/arch/parisc/include/asm/unistd.h
index f2e390fe74cf..74f801ebbe77 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) \
167#define __ARCH_WANT_SYS_FORK 167#define __ARCH_WANT_SYS_FORK
168#define __ARCH_WANT_SYS_VFORK 168#define __ARCH_WANT_SYS_VFORK
169#define __ARCH_WANT_SYS_CLONE 169#define __ARCH_WANT_SYS_CLONE
170#define __ARCH_WANT_COMPAT_SYS_SENDFILE
170 171
171#endif /* __ASSEMBLY__ */ 172#endif /* __ASSEMBLY__ */
172 173