[RFC PATCH v3 7/7] powerpc/64: Modify CURRENT_THREAD_INFO()

Nicholas Piggin npiggin at gmail.com
Wed Oct 3 15:44:42 AEST 2018


On Mon,  1 Oct 2018 12:30:31 +0000 (UTC)
Christophe Leroy <christophe.leroy at c-s.fr> wrote:

> CURRENT_THREAD_INFO() now uses the PACA to retrieve 'current' pointer,
> it doesn't use 'sp' anymore.

Can you remove this too now? I think it will be clearer what's going on
and easier to read once everyone remembers current is the same offset as
current thread_info.

Overall nice series, thanks for doing this.

Thanks,
Nick


More information about the Linuxppc-dev mailing list