[PATCH] arm64: compat: Remove defines now in asm-generic

Teo Couprie Diaz teo.coupriediaz at arm.com
Tue Mar 14 07:00:38 PDT 2023


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 at arm.com>
---
 arch/arm64/include/asm/compat.h | 4 ----
 1 file changed, 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
 

base-commit: 010338d729c1090036eb40d2a60b7b7bce2445b8
-- 
2.25.1




More information about the linux-arm-kernel mailing list