summaryrefslogtreecommitdiff
path: root/arch/parisc/include
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2013-02-19 21:55:17 (GMT)
committerHelge Deller <deller@gmx.de>2013-02-20 21:57:30 (GMT)
commitf03d70a7fc952a7fd01c678ad409c932a925637b (patch)
tree8865eacae776eaddfd3d05416995e052de11853b /arch/parisc/include
parente27da28a565e2a4d82a2d1adc9e0ba4aadd61e97 (diff)
downloadlinux-fsl-qoriq-f03d70a7fc952a7fd01c678ad409c932a925637b.tar.xz
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')
-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 f2e390f..74f801e 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__ */