Skip to content
Snippets Groups Projects
Commit 536175f0 authored by Huang Pei's avatar Huang Pei Committed by Greg Kroah-Hartman
Browse files

MIPS: fix local_irq_{disable,enable} in asmmacro.h


[ Upstream commit 05c4e272 ]

commit ba9196d2 ("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 e97c5b60 ("MIPS:
Make irqflags.h functions preempt-safe for non-mipsr2 cpus")

Fixes: ba9196d2 ("MIPS: Make DIEI support as a config option")
Signed-off-by: default avatarHuang Pei <huangpei@loongson.cn>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 4c45556d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment