[PATCH] PPC: use CURRENT_THREAD_INFO instead of open coded assembly

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Jul 3 07:26:08 EST 2012


On Mon, 2012-07-02 at 22:59 +0200, Alexander Graf wrote:
> This should go into an #ifdef __ASSEMBLY__ block, right? :)

We almost never use #ifdef __ASSEMBLY__, we use it the other way around,
to prevent C stuff from being included in assembly. The other way around
is legit since things might be used in inline asm for example.

Cheers,
Ben.




More information about the Linuxppc-dev mailing list