projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3ffd08
)
Inlining will result in back-to-back mtc0 mfc0 instructions. Break the
author
Ralf Baechle
<ralf@linux-mips.org>
Tue, 9 Aug 2005 15:23:49 +0000
(15:23 +0000)
committer
Ralf Baechle
<ralf@linux-mips.org>
Sat, 29 Oct 2005 18:32:00 +0000
(19:32 +0100)
hazard by using back_to_back_c0_hazard().
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/irq_cpu.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/kernel/irq_cpu.c
b/arch/mips/kernel/irq_cpu.c
index 060722e42c53f9e8aac2f268dea306e4219a0465..31c38c4971c0ab48f931d4f0e4f030fc4ea06ee8 100644
(file)
--- a/
arch/mips/kernel/irq_cpu.c
+++ b/
arch/mips/kernel/irq_cpu.c
@@
-55,6
+55,7
@@
static inline void mips_cpu_irq_enable(unsigned int irq)
local_irq_save(flags);
unmask_mips_irq(irq);
+ back_to_back_c0_hazard();
local_irq_restore(flags);
}
@@
-64,6
+65,7
@@
static void mips_cpu_irq_disable(unsigned int irq)
local_irq_save(flags);
mask_mips_irq(irq);
+ back_to_back_c0_hazard();
local_irq_restore(flags);
}