提交 c6db04a7 编写于 作者: M Mike Frysinger 提交者: Bryan Wu

Blackfin arch: remove useless SSYNC() in irq priority code

 - 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: NMike Frysinger <vapier.adi@gmail.com>
Signed-off-by: NBryan Wu <cooloney@kernel.org>
上级 397861cd
...@@ -167,7 +167,6 @@ static void bfin_internal_mask_irq(unsigned int irq) ...@@ -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) & bfin_write_SIC_IMASK(mask_bank, bfin_read_SIC_IMASK(mask_bank) &
~(1 << mask_bit)); ~(1 << mask_bit));
#endif #endif
SSYNC();
} }
static void bfin_internal_unmask_irq(unsigned int irq) static void bfin_internal_unmask_irq(unsigned int irq)
...@@ -182,7 +181,6 @@ 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) | bfin_write_SIC_IMASK(mask_bank, bfin_read_SIC_IMASK(mask_bank) |
(1 << mask_bit)); (1 << mask_bit));
#endif #endif
SSYNC();
} }
#ifdef CONFIG_PM #ifdef CONFIG_PM
...@@ -960,8 +958,6 @@ static void bfin_demux_gpio_irq(unsigned int inta_irq, ...@@ -960,8 +958,6 @@ static void bfin_demux_gpio_irq(unsigned int inta_irq,
void __init init_exception_vectors(void) void __init init_exception_vectors(void)
{ {
SSYNC();
/* cannot program in software: /* cannot program in software:
* evt0 - emulation (jtag) * evt0 - emulation (jtag)
* evt1 - reset * evt1 - reset
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册