arm64: compat: Remove defines now in asm-generic
authorTeo Couprie Diaz <teo.coupriediaz@arm.com>
Tue, 14 Mar 2023 14:00:38 +0000 (14:00 +0000)
committerWill Deacon <will@kernel.org>
Tue, 11 Apr 2023 18:10:36 +0000 (19:10 +0100)
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>
arch/arm64/include/asm/compat.h

index 9f36227..74575c3 100644 (file)
@@ -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