Commit 84a3098f authored by Jiri Kosina's avatar Jiri Kosina

CIRS: turn local_save_flags() + local_irq_disable()into local_irq_save()

This is a followup to my patches that fixed this all over the tree quite some
time ago. This one went unnoticed for some reason.

TLB handling for CRIS contains local_irq_disable() after local_save_flags().
Turn this into local_irq_save().
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
Acked-by: default avatarJesper Nilsson <Jesper.Nilsson@axis.com>
parent 21ae2956
...@@ -80,8 +80,7 @@ handle_mmu_bus_fault(struct pt_regs *regs) ...@@ -80,8 +80,7 @@ handle_mmu_bus_fault(struct pt_regs *regs)
* do_page_fault may have flushed the TLB so we have to restore * do_page_fault may have flushed the TLB so we have to restore
* the MMU registers. * the MMU registers.
*/ */
local_save_flags(flags); local_irq_save(flags);
local_irq_disable();
pmd = (pmd_t *)(pgd + pgd_index(address)); pmd = (pmd_t *)(pgd + pgd_index(address));
if (pmd_none(*pmd)) if (pmd_none(*pmd))
goto exit; goto exit;
......
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