[PATCH -next 1/4] powerpc: Remove obsoleted declaration for _get_SP
LEROY Christophe
christophe.leroy2 at cs-soprasteria.com
Fri Aug 23 00:16:30 AEST 2024
Le 22/08/2024 à 15:06, Gaosheng Cui a écrit :
> [Vous ne recevez pas souvent de courriers de cuigaosheng1 at huawei.com. Découvrez pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ]
>
> The _get_SP() have been removed since
> commit 917f0af9e5a9 ("powerpc: Remove arch/ppc and include/asm-ppc"),
> and now it is useless, so remove it.
Not sure that commit is relevant since it relates to arch/ppc/ not
arch/powerpc/
For arch/powerpc/ I think it is commit f4db196717c6 ("[POWERPC] Remove
_get_SP")
>
> Signed-off-by: Gaosheng Cui <cuigaosheng1 at huawei.com>
> ---
> arch/powerpc/kernel/process.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c
> index 3b506d4c55f3..e7b70c2cc001 100644
> --- a/arch/powerpc/kernel/process.c
> +++ b/arch/powerpc/kernel/process.c
> @@ -72,8 +72,6 @@
> #define TM_DEBUG(x...) do { } while(0)
> #endif
>
> -extern unsigned long _get_SP(void);
> -
> #ifdef CONFIG_PPC_TRANSACTIONAL_MEM
> /*
> * Are we running in "Suspend disabled" mode? If so we have to block any
> --
> 2.25.1
>
More information about the Linuxppc-dev
mailing list