]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
Blackfin arch: remove useless SSYNC() in irq priority code
authorMike Frysinger <vapier.adi@gmail.com>
Tue, 18 Nov 2008 09:48:22 +0000 (17:48 +0800)
committerBryan Wu <cooloney@kernel.org>
Tue, 18 Nov 2008 09:48:22 +0000 (17:48 +0800)
 - remove SSYNC() left over from irq init split
 - do not force SSYNC() when masking/unmasking IRQs in the SIC
   as any order enforced by the hardware should already be enforced
   by software

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/mach-common/ints-priority.c

index 5b374ff1c96e3a96e16cbbb30a54d490f2c02e5e..25ad25ed978306bbdd8375e7ea7aac797fe97c30 100644 (file)
@@ -167,7 +167,6 @@ static void bfin_internal_mask_irq(unsigned int irq)
        bfin_write_SIC_IMASK(mask_bank, bfin_read_SIC_IMASK(mask_bank) &
                             ~(1 << mask_bit));
 #endif
-       SSYNC();
 }
 
 static void bfin_internal_unmask_irq(unsigned int irq)
@@ -182,7 +181,6 @@ static void bfin_internal_unmask_irq(unsigned int irq)
        bfin_write_SIC_IMASK(mask_bank, bfin_read_SIC_IMASK(mask_bank) |
                             (1 << mask_bit));
 #endif
-       SSYNC();
 }
 
 #ifdef CONFIG_PM
@@ -960,8 +958,6 @@ static void bfin_demux_gpio_irq(unsigned int inta_irq,
 
 void __init init_exception_vectors(void)
 {
-       SSYNC();
-
        /* cannot program in software:
         * evt0 - emulation (jtag)
         * evt1 - reset