[PATCH v16 20/21] powerpc/64: Replace CURRENT_THREAD_INFO with PACA_CURRENT_TI
Nicholas Piggin
npiggin at gmail.com
Thu Feb 7 15:24:01 AEDT 2019
Michael Ellerman's on February 5, 2019 9:32 pm:
> From: Christophe Leroy <christophe.leroy at c-s.fr>
>
> Now that current_thread_info is located at the beginning of 'current'
> task struct, CURRENT_THREAD_INFO macro is not really needed any more.
>
> This patch replaces it by loads of the value at PACA_CURRENT_TI(r13).
>
> Signed-off-by: Christophe Leroy <christophe.leroy at c-s.fr>
> [mpe: Add PACA_CURRENT_TI rather than using PACACURRENT]
Okay. Does it need to be CURRENT_TI not just TI (or THREAD_INFO may be
more descriptive)? TI/THREAD_INFO implies the current one I think.
Reviewed-by: Nicholas Piggin <npiggin at gmail.com>
More information about the Linuxppc-dev
mailing list