* [PATCH] arm64: compat: Remove defines now in asm-generic
@ 2023-03-14 14:00 Teo Couprie Diaz
2023-03-14 14:02 ` Arnd Bergmann
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Teo Couprie Diaz @ 2023-03-14 14:00 UTC (permalink / raw)
To: linux-arm-kernel
Cc: Catalin Marinas, Will Deacon, Guo Ren, Arnd Bergmann,
Palmer Dabbelt, Helge Deller, Teo Couprie Diaz
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>
---
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
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: compat: Remove defines now in asm-generic
2023-03-14 14:00 [PATCH] arm64: compat: Remove defines now in asm-generic Teo Couprie Diaz
@ 2023-03-14 14:02 ` Arnd Bergmann
2023-03-14 15:23 ` Guo Ren
2023-04-11 18:37 ` Will Deacon
2 siblings, 0 replies; 4+ messages in thread
From: Arnd Bergmann @ 2023-03-14 14:02 UTC (permalink / raw)
To: Teo Couprie Diaz, linux-arm-kernel
Cc: Catalin Marinas, Will Deacon, guoren, Palmer Dabbelt, Helge Deller
On Tue, Mar 14, 2023, at 15:00, Teo Couprie Diaz wrote:
> 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: Arnd Bergmann <arnd@arndb.de>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: compat: Remove defines now in asm-generic
2023-03-14 14:00 [PATCH] arm64: compat: Remove defines now in asm-generic Teo Couprie Diaz
2023-03-14 14:02 ` Arnd Bergmann
@ 2023-03-14 15:23 ` Guo Ren
2023-04-11 18:37 ` Will Deacon
2 siblings, 0 replies; 4+ messages in thread
From: Guo Ren @ 2023-03-14 15:23 UTC (permalink / raw)
To: Teo Couprie Diaz
Cc: linux-arm-kernel, Catalin Marinas, Will Deacon, Arnd Bergmann,
Palmer Dabbelt, Helge Deller
Reviewed-by: Guo Ren <guoren@kernel.org>
On Tue, Mar 14, 2023 at 10:00 AM Teo Couprie Diaz
<teo.coupriediaz@arm.com> wrote:
>
> 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>
> ---
> 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
>
--
Best Regards
Guo Ren
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: compat: Remove defines now in asm-generic
2023-03-14 14:00 [PATCH] arm64: compat: Remove defines now in asm-generic Teo Couprie Diaz
2023-03-14 14:02 ` Arnd Bergmann
2023-03-14 15:23 ` Guo Ren
@ 2023-04-11 18:37 ` Will Deacon
2 siblings, 0 replies; 4+ messages in thread
From: Will Deacon @ 2023-04-11 18:37 UTC (permalink / raw)
To: linux-arm-kernel, Teo Couprie Diaz
Cc: catalin.marinas, kernel-team, Will Deacon, Guo Ren, Helge Deller,
Palmer Dabbelt, Arnd Bergmann
On Tue, 14 Mar 2023 14:00:38 +0000, Teo Couprie Diaz wrote:
> 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.
>
> [...]
Applied to arm64 (for-next/misc), thanks!
[1/1] arm64: compat: Remove defines now in asm-generic
https://git.kernel.org/arm64/c/73e68984cf18
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-04-11 18:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-14 14:00 [PATCH] arm64: compat: Remove defines now in asm-generic Teo Couprie Diaz
2023-03-14 14:02 ` Arnd Bergmann
2023-03-14 15:23 ` Guo Ren
2023-04-11 18:37 ` Will Deacon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.