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

2018-10-02 Thread Christophe LEROY
Le 03/10/2018 à 07:44, Nicholas Piggin a écrit : On Mon, 1 Oct 2018 12:30:31 + (UTC) Christophe Leroy 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

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

2018-10-02 Thread Nicholas Piggin
On Mon, 1 Oct 2018 12:30:31 + (UTC) Christophe Leroy 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 t

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

2018-10-01 Thread Christophe Leroy
CURRENT_THREAD_INFO() now uses the PACA to retrieve 'current' pointer, it doesn't use 'sp' anymore. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/exception-64s.h | 4 ++-- arch/powerpc/include/asm/thread_info.h | 2 +- arch/powerpc/kernel/entry_64.S