[PATCH v16 19/21] powerpc/32: Remove CURRENT_THREAD_INFO and rename TI_CPU
Michael Ellerman
mpe at ellerman.id.au
Thu Feb 7 11:10:09 AEDT 2019
Michael Ellerman <mpe at ellerman.id.au> writes:
> diff --git a/arch/powerpc/kernel/idle_6xx.S b/arch/powerpc/kernel/idle_6xx.S
> index d9b6e7e0b5e3..5e69fefcd9c4 100644
> --- a/arch/powerpc/kernel/idle_6xx.S
> +++ b/arch/powerpc/kernel/idle_6xx.S
> @@ -159,9 +158,7 @@ _GLOBAL(power_save_ppc32_restore)
> stw r9,_NIP(r11) /* make it do a blr */
>
> #ifdef CONFIG_SMP
> - CURRENT_THREAD_INFO(r12, r1)
> - tophys(r12, r12)
> - lwz r11,TI_CPU(r12) /* get cpu number * 4 */
> + lwz r11,TI_CPU(r2) /* get cpu number * 4 */
^
missed conversion to TASK_CPU here. I've fixed it up.
cheers
More information about the Linuxppc-dev
mailing list