diff options
author | Helge Deller <deller@gmx.de> | 2013-02-19 22:55:17 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2013-02-20 22:57:30 +0100 |
commit | f03d70a7fc952a7fd01c678ad409c932a925637b (patch) | |
tree | 8865eacae776eaddfd3d05416995e052de11853b /arch/parisc/include/asm/unistd.h | |
parent | e27da28a565e2a4d82a2d1adc9e0ba4aadd61e97 (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.h | 1 |
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) \ #define __ARCH_WANT_SYS_FORK #define __ARCH_WANT_SYS_VFORK #define __ARCH_WANT_SYS_CLONE +#define __ARCH_WANT_COMPAT_SYS_SENDFILE #endif /* __ASSEMBLY__ */ |