aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/include/asm/unistd.h
diff options
context:
space:
mode:
authorGuo Ren <guoren@linux.alibaba.com>2022-04-05 15:12:59 +0800
committerPalmer Dabbelt <palmer@rivosinc.com>2022-04-26 13:35:45 -0700
commitf18ed30db299458f809aec55bf1800dbeebeb953 (patch)
tree0288b5a1de164a136a9219d3f2853720fa7286cf /arch/parisc/include/asm/unistd.h
parentarch: Add SYSVIPC_COMPAT for all architectures (diff)
downloadlinux-dev-f18ed30db299458f809aec55bf1800dbeebeb953.tar.xz
linux-dev-f18ed30db299458f809aec55bf1800dbeebeb953.zip
fs: stat: compat: Add __ARCH_WANT_COMPAT_STAT
RISC-V doesn't neeed compat_stat, so using __ARCH_WANT_COMPAT_STAT to exclude unnecessary SYSCALL functions. Signed-off-by: Guo Ren <guoren@linux.alibaba.com> Signed-off-by: Guo Ren <guoren@kernel.org> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Christoph Hellwig <hch@lst.de> Tested-by: Heiko Stuebner <heiko@sntech.de> Acked-by: Helge Deller <deller@gmx.de> # parisc Link: https://lore.kernel.org/r/20220405071314.3225832-6-guoren@kernel.org Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
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 7708a5806f09..81cbad73b517 100644
--- a/arch/parisc/include/asm/unistd.h
+++ b/arch/parisc/include/asm/unistd.h
@@ -164,6 +164,7 @@ type name(type1 arg1, type2 arg2, type3 arg3, type4 arg4, type5 arg5) \
#define __ARCH_WANT_SYS_CLONE
#define __ARCH_WANT_SYS_CLONE3
#define __ARCH_WANT_COMPAT_SYS_SENDFILE
+#define __ARCH_WANT_COMPAT_STAT
#ifdef CONFIG_64BIT
#define __ARCH_WANT_SYS_TIME