Thread (34 messages) 34 messages, 4 authors, 2019-02-26

Re: [PATCH v16 19/21] powerpc/32: Remove CURRENT_THREAD_INFO and rename TI_CPU

From: Nicholas Piggin <npiggin@gmail.com>
Date: 2019-02-07 04:43:17

Nicholas Piggin's on February 7, 2019 2:27 pm:
Michael Ellerman's on February 5, 2019 9:32 pm:
quoted
From: Christophe Leroy <redacted>

Now that thread_info is similar to task_struct, its address is in r2
so CURRENT_THREAD_INFO() macro is useless. This patch removes it.
You wouldn't want to keep CURRENT_THREAD_INFO(r2) to mean get the thread 
info out of current, as just a no-op for documentation purpose? I don't 
know /32 code at all so it's up to you.
I see that I said roughly the opposite last year, if that helps to 
determine the importance of my opinion.

Thanks,
Nick
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help