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

Jason Yan yanaijie at huawei.com
Mon Mar 4 12:28:04 AEDT 2019



On 2019/2/28 21:00, Christophe Leroy wrote:
> 
> 
> 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
> 

Christophe, thanks.


>> ---
>>   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