diff options
| author | Jiaxun Yang <[email protected]> | 2022-06-09 18:52:41 +0100 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2022-06-10 08:57:19 +0100 |
| commit | 6fac824f40987a54a08dfbcc36145869d02e45b1 (patch) | |
| tree | d7df6acbca838aa85962b0544a45cf13b0128362 /scripts/gcc-plugins/gcc-generate-ipa-pass.h | |
| parent | e3f056a7aafabe4ac3ad4b7465ba821b44a7e639 (diff) | |
irqchip/loongson-liointc: Use architecture register to get coreid
fa84f89395e0 ("irqchip/loongson-liointc: Fix build error for
LoongArch") replaced get_ebase_cpunum with physical processor
id from SMP facilities. However that breaks MIPS non-SMP build
and makes booting from other cores inpossible on non-SMP kernel.
Thus we revert get_ebase_cpunum back and use get_csr_cpuid for
LoongArch.
Fixes: fa84f89395e0 ("irqchip/loongson-liointc: Fix build error for LoongArch")
Signed-off-by: Jiaxun Yang <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-ipa-pass.h')
0 files changed, 0 insertions, 0 deletions