Skip to content

Commit

Permalink
CIRS: turn local_save_flags() + local_irq_disable()into local_irq_save()
Browse files Browse the repository at this point in the history
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: Jiri Kosina <jkosina@suse.cz>
Acked-by: Jesper Nilsson <Jesper.Nilsson@axis.com>
  • Loading branch information
Jiri Kosina committed Nov 9, 2009
1 parent 21ae295 commit 84a3098
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/cris/arch-v10/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
* the MMU registers.
*/
local_save_flags(flags);
local_irq_disable();
local_irq_save(flags);
pmd = (pmd_t *)(pgd + pgd_index(address));
if (pmd_none(*pmd))
goto exit;
Expand Down

0 comments on commit 84a3098

Please sign in to comment.