powerpc: Remove obsoleted declaration for _get_SP
authorGaosheng Cui <cuigaosheng1@huawei.com>
Thu, 22 Aug 2024 13:06:06 +0000 (21:06 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 30 Aug 2024 11:01:01 +0000 (21:01 +1000)
The implementation of _get_SP() was removed in commit f4db196717c6
("[POWERPC] Remove  _get_SP"), remove the now obsolete declaration.

Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
[mpe: Update change log to refer to correct commit per Christophe]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240822130609.786431-2-cuigaosheng1@huawei.com
arch/powerpc/kernel/process.c

index 3b506d4c55f37eb3f510da46cd058b4342ba91db..e7b70c2cc0013038087b765c017225fe8fcc84dd 100644 (file)
@@ -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