[PATCH] powerpc/64s: Remove RFI

Christophe Leroy christophe.leroy at csgroup.eu
Sun Nov 8 01:31:43 AEDT 2020



Le 06/11/2020 à 12:36, Christophe Leroy a écrit :
> Last use of RFI on PPC64 was removed by
> commit b8e90cb7bc04 ("powerpc/64: Convert the syscall exit path to
> use RFI_TO_USER/KERNEL").
> 
> Remove the macro.

Forget this crazy patch. I missed two RFI in head_64.S ....

Christophe

> 
> Signed-off-by: Christophe Leroy <christophe.leroy at csgroup.eu>
> ---
>   arch/powerpc/include/asm/ppc_asm.h | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/arch/powerpc/include/asm/ppc_asm.h b/arch/powerpc/include/asm/ppc_asm.h
> index 511786f0e40d..bedf3eb52ebc 100644
> --- a/arch/powerpc/include/asm/ppc_asm.h
> +++ b/arch/powerpc/include/asm/ppc_asm.h
> @@ -495,7 +495,6 @@ END_FTR_SECTION_NESTED(CPU_FTR_CELL_TB_BUG, CPU_FTR_CELL_TB_BUG, 96)
>   #endif
>   
>   #ifdef CONFIG_PPC_BOOK3S_64
> -#define RFI		rfid
>   #define MTMSRD(r)	mtmsrd	r
>   #define MTMSR_EERI(reg)	mtmsrd	reg,1
>   #else
> 


More information about the Linuxppc-dev mailing list