diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2022-06-09 18:52:41 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-06-10 08:57:19 +0100 |
commit | 6fac824f40987a54a08dfbcc36145869d02e45b1 (patch) | |
tree | d7df6acbca838aa85962b0544a45cf13b0128362 /drivers/usb/cdns3/cdns3-ep0.c | |
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 <jiaxun.yang@flygoat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220609175242.977-1-jiaxun.yang@flygoat.com
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ep0.c')
0 files changed, 0 insertions, 0 deletions