[PATCH v2 1/5] powerpc/rtas: Drop declaration of undefined call_rtas() function
Andrew Donnellan
ajd at linux.ibm.com
Mon Nov 20 14:56:02 AEDT 2023
On Tue, 2023-11-14 at 11:22 -0600, Nathan Lynch via B4 Relay wrote:
> From: Nathan Lynch <nathanl at linux.ibm.com>
>
> The call_rtas() function has never been a part of arch/powerpc, and
> its implementation was removed from arch/ppc by commit 0a26b1364f14
> ("ppc: Remove CHRP, POWER3 and POWER4 support from arch/ppc").
>
> Signed-off-by: Nathan Lynch <nathanl at linux.ibm.com>
grep confirms this.
Reviewed-by: Andrew Donnellan <ajd at linux.ibm.com>
> ---
> arch/powerpc/include/asm/rtas.h | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/arch/powerpc/include/asm/rtas.h
> b/arch/powerpc/include/asm/rtas.h
> index c697c3c74694..3bf7f0a4b07e 100644
> --- a/arch/powerpc/include/asm/rtas.h
> +++ b/arch/powerpc/include/asm/rtas.h
> @@ -542,8 +542,6 @@ static inline void pSeries_coalesce_init(void) {
> }
> static inline void rtas_initialize(void) { }
> #endif
>
> -extern int call_rtas(const char *, int, int, unsigned long *, ...);
> -
> #ifdef CONFIG_HV_PERF_CTRS
> void read_24x7_sys_info(void);
> #else
>
--
Andrew Donnellan OzLabs, ADL Canberra
ajd at linux.ibm.com IBM Australia Limited
More information about the Linuxppc-dev
mailing list