summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/compat.h
diff options
context:
space:
mode:
authorTeo Couprie Diaz <teo.coupriediaz@arm.com>2023-03-14 17:00:38 +0300
committerWill Deacon <will@kernel.org>2023-04-11 21:10:36 +0300
commit73e68984cf18ca00fd66e6cb53b3bc06492aafa4 (patch)
treef6d09f704d174faba7b75d86a2bcfd3397505d42 /arch/arm64/include/asm/compat.h
parent6915cffd4889bb2d5f1b41714ec56f9d10fa7e67 (diff)
downloadlinux-73e68984cf18ca00fd66e6cb53b3bc06492aafa4.tar.xz
arm64: compat: Remove defines now in asm-generic
Some generic COMPAT definitions have been consolidated in asm-generic/compat.h by commit 84a0c977ab98 ("asm-generic: compat: Cleanup duplicate definitions") Remove those that are already defined to the same value there from arm64 asm/compat.h. Signed-off-by: Teo Couprie Diaz <teo.coupriediaz@arm.com> Reviewed-by: Guo Ren <guoren@kernel.org> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20230314140038.252908-1-teo.coupriediaz@arm.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/include/asm/compat.h')
-rw-r--r--arch/arm64/include/asm/compat.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm64/include/asm/compat.h b/arch/arm64/include/asm/compat.h
index 9f362274a4f7..74575c3d6987 100644
--- a/arch/arm64/include/asm/compat.h
+++ b/arch/arm64/include/asm/compat.h
@@ -83,10 +83,6 @@ struct compat_statfs {
int f_spare[4];
};
-#define COMPAT_RLIM_INFINITY 0xffffffff
-
-#define COMPAT_OFF_T_MAX 0x7fffffff
-
#define compat_user_stack_pointer() (user_stack_pointer(task_pt_regs(current)))
#define COMPAT_MINSIGSTKSZ 2048