[PATCH] powerpc: kgdb: Remove OUTBUFMAX constant
Christophe Leroy
christophe.leroy at csgroup.eu
Wed Oct 15 20:52:21 AEDT 2025
Le 15/09/2025 à 16:18, Miquel Sabaté Solà a écrit :
> [Vous ne recevez pas souvent de courriers de mikisabate at gmail.com. Découvrez pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ]
>
> This constant was introduced in commit 17ce452f7ea3 ("kgdb, powerpc:
> arch specific powerpc kgdb support"), but it is no longer used anywhere
> in the source tree.
>
> Signed-off-by: Miquel Sabaté Solà <mikisabate at gmail.com>
Reviewed-by: Christophe Leroy <christophe.leroy at csgroup.eu>
> ---
> arch/powerpc/include/asm/kgdb.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/powerpc/include/asm/kgdb.h b/arch/powerpc/include/asm/kgdb.h
> index 715c18b75334..4c0afde87e97 100644
> --- a/arch/powerpc/include/asm/kgdb.h
> +++ b/arch/powerpc/include/asm/kgdb.h
> @@ -25,7 +25,6 @@
>
> #define BREAK_INSTR_SIZE 4
> #define BUFMAX ((NUMREGBYTES * 2) + 512)
> -#define OUTBUFMAX ((NUMREGBYTES * 2) + 512)
>
> #define BREAK_INSTR 0x7d821008 /* twge r2, r2 */
>
> --
> 2.51.0
>
More information about the Linuxppc-dev
mailing list