aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/syscalls.h
diff options
context:
space:
mode:
authorRohan McLure <rmclure@linux.ibm.com>2022-09-21 16:55:50 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2022-09-26 23:00:15 +1000
commitc2e7a19827eec443a7cbe85e8d959052412d6dc3 (patch)
tree84c706c2dcd1a124faf575ca4e23bdbe87b94d57 /arch/powerpc/include/asm/syscalls.h
parentasm-generic: compat: Support BE for long long args in 32-bit ABIs (diff)
downloadlinux-dev-c2e7a19827eec443a7cbe85e8d959052412d6dc3.tar.xz
linux-dev-c2e7a19827eec443a7cbe85e8d959052412d6dc3.zip
powerpc: Use generic fallocate compatibility syscall
The powerpc fallocate compat syscall handler is identical to the generic implementation provided by commit 59c10c52f573f ("riscv: compat: syscall: Add compat_sys_call_table implementation"), and as such can be removed in favour of the generic implementation. A future patch series will replace more architecture-defined syscall handlers with generic implementations, dependent on introducing generic implementations that are compatible with powerpc and arm's parameter reorderings. Reported-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Rohan McLure <rmclure@linux.ibm.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20220921065605.1051927-11-rmclure@linux.ibm.com
Diffstat (limited to 'arch/powerpc/include/asm/syscalls.h')
-rw-r--r--arch/powerpc/include/asm/syscalls.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/syscalls.h b/arch/powerpc/include/asm/syscalls.h
index ae7ca59f6267..52f5e1985989 100644
--- a/arch/powerpc/include/asm/syscalls.h
+++ b/arch/powerpc/include/asm/syscalls.h
@@ -51,8 +51,6 @@ compat_ssize_t compat_sys_readahead(int fd, u32 r4, u32 offset1, u32 offset2, u3
int compat_sys_truncate64(const char __user *path, u32 reg4,
unsigned long len1, unsigned long len2);
-long compat_sys_fallocate(int fd, int mode, u32 offset1, u32 offset2, u32 len1, u32 len2);
-
int compat_sys_ftruncate64(unsigned int fd, u32 reg4, unsigned long len1,
unsigned long len2);