aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeo Couprie Diaz <[email protected]>2023-03-14 14:00:38 +0000
committerWill Deacon <[email protected]>2023-04-11 19:10:36 +0100
commit73e68984cf18ca00fd66e6cb53b3bc06492aafa4 (patch)
treef6d09f704d174faba7b75d86a2bcfd3397505d42
parent6915cffd4889bb2d5f1b41714ec56f9d10fa7e67 (diff)
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 <[email protected]> Reviewed-by: Guo Ren <[email protected]> Reviewed-by: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
-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