Re: [PATCH] powerpc: Redefine HMT_xxx macros as empty on PPC32

2021-08-31 Thread Michael Ellerman
On Wed, 25 Aug 2021 13:34:45 + (UTC), Christophe Leroy wrote: > HMT_xxx macros are macros for adjusting thread priority > (hardware multi-threading) are macros inherited from PPC64 > via commit 5f7c690728ac ("[PATCH] powerpc: Merged ppc_asm.h") > > Those instructions are pointless on PPC32, bu

Re: [PATCH] powerpc: Redefine HMT_xxx macros as empty on PPC32

2021-08-25 Thread Michael Ellerman
Christophe Leroy writes: > HMT_xxx macros are macros for adjusting thread priority > (hardware multi-threading) are macros inherited from PPC64 > via commit 5f7c690728ac ("[PATCH] powerpc: Merged ppc_asm.h") > > Those instructions are pointless on PPC32, but some common > fonctions like arch_cpu_i

[PATCH] powerpc: Redefine HMT_xxx macros as empty on PPC32

2021-08-25 Thread Christophe Leroy
HMT_xxx macros are macros for adjusting thread priority (hardware multi-threading) are macros inherited from PPC64 via commit 5f7c690728ac ("[PATCH] powerpc: Merged ppc_asm.h") Those instructions are pointless on PPC32, but some common fonctions like arch_cpu_idle() use them. So make them empty o