]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
CIRS: turn local_save_flags() + local_irq_disable()into local_irq_save()
authorJiri Kosina <jkosina@suse.cz>
Fri, 9 Oct 2009 09:26:14 +0000 (11:26 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 9 Nov 2009 08:40:57 +0000 (09:40 +0100)
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>
arch/cris/arch-v10/mm/fault.c

index 087a2096f221f1203d4737c63123fb162952de38..ed60588f846706675e2d2a85d174308ad021521b 100644 (file)
@@ -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;