diff options
author | Huang Pei <huangpei@loongson.cn> | 2021-03-23 05:34:02 +0300 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2021-03-24 12:48:55 +0300 |
commit | 05c4e2721d7af0df7bc1378a23712a0fd16947b5 (patch) | |
tree | 9bac75e0db49cb9ec6f074a87301c7cc42d73043 /arch/mips/boot | |
parent | 2132ce5d1af81dc0387cb4c483391532fa4fe457 (diff) | |
download | linux-05c4e2721d7af0df7bc1378a23712a0fd16947b5.tar.xz |
MIPS: fix local_irq_{disable,enable} in asmmacro.h
commit ba9196d2e005 ("MIPS: Make DIEI support as a config option")
use CPU_HAS_DIEI to indicate whether di/ei is implemented correctly,
without this patch, "local_irq_disable" from entry.S in 3A1000
(with buggy di/ei) lose protection of commit e97c5b609880 ("MIPS:
Make irqflags.h functions preempt-safe for non-mipsr2 cpus")
Fixes: ba9196d2e005 ("MIPS: Make DIEI support as a config option")
Signed-off-by: Huang Pei <huangpei@loongson.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/boot')
0 files changed, 0 insertions, 0 deletions