Commit ba48855a authored by Philippe Gerum's avatar Philippe Gerum

arm: ipipe: fix IRQ state mangling in fault entry

This is a pretty bad issue affecting the logic involved in reconciling
the virtual interrupt state with the hardware interrupt flags received
on entry to any CPU exception.

The net effect was a potentially corrupted virtual interrupt state on
exit from the fault handlers.
parent d3220953
......@@ -54,7 +54,7 @@ unsigned long fault_entry(struct pt_regs *regs)
&__ipipe_root_status);
hard_local_irq_enable();
return arch_mangle_irq_bits(flags, nosync);
return arch_mangle_irq_bits(nosync, flags);
}
static inline void fault_exit(unsigned long flags)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment