diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2021-08-25 13:34:45 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-08-27 00:56:52 +1000 |
commit | 8149238ffd210875f5a77e3c654bb59b58da35e3 (patch) | |
tree | d7d83b4775018f0f38543db7cbad8f6f60b54d13 /arch/powerpc/boot | |
parent | f50da6edbf1ebf35dd8070847bfab5cb988d472b (diff) | |
download | linux-8149238ffd210875f5a77e3c654bb59b58da35e3.tar.gz linux-8149238ffd210875f5a77e3c654bb59b58da35e3.tar.bz2 linux-8149238ffd210875f5a77e3c654bb59b58da35e3.zip |
powerpc: Redefine HMT_xxx macros as empty on PPC32
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 on PPC32 to avoid those instructions.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/c5a07fadea33d640ad10cecf0ac8faaec1c524e0.1629898474.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/boot')
0 files changed, 0 insertions, 0 deletions