[PATCH] powerpc: remove dead code in head_fsl_booke.S

Christophe Leroy christophe.leroy at c-s.fr
Fri Mar 1 00:00:44 AEDT 2019



Le 28/02/2019 à 09:31, Jason Yan a écrit :
> This code is dead. Just remove it.
> 
> Signed-off-by: Jason Yan <yanaijie at huawei.com>

Reviewed-by: Christophe Leroy <christophe.leroy at c-s.fr>

This review was easy :)

Christophe

> ---
>   arch/powerpc/kernel/head_fsl_booke.S | 7 -------
>   1 file changed, 7 deletions(-)
> 
> diff --git a/arch/powerpc/kernel/head_fsl_booke.S b/arch/powerpc/kernel/head_fsl_booke.S
> index 2386ce2a9c6e..b8450f017d85 100644
> --- a/arch/powerpc/kernel/head_fsl_booke.S
> +++ b/arch/powerpc/kernel/head_fsl_booke.S
> @@ -194,13 +194,6 @@ set_ivor:
>   #endif
>   	mtspr	SPRN_MAS4, r2
>   
> -#if 0
> -	/* Enable DOZE */
> -	mfspr	r2,SPRN_HID0
> -	oris	r2,r2,HID0_DOZE at h
> -	mtspr	SPRN_HID0, r2
> -#endif
> -
>   #if !defined(CONFIG_BDI_SWITCH)
>   	/*
>   	 * The Abatron BDI JTAG debugger does not tolerate others
> 


More information about the Linuxppc-dev mailing list