diff options
author | Mike Frysinger <vapier.adi@gmail.com> | 2008-11-18 04:48:22 -0500 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-11-18 04:48:22 -0500 |
commit | c6db04a78ac21e13aa1be17da73732355d07b2ba (patch) | |
tree | 6fadd8b19ebc4a0f0799137f1aa971a28dbb3ca9 /arch/blackfin/mach-common | |
parent | 397861cd8046549957a04d34a0b97b267cbb9589 (diff) |
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: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/mach-common')
-rw-r--r-- | arch/blackfin/mach-common/ints-priority.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/blackfin/mach-common/ints-priority.c b/arch/blackfin/mach-common/ints-priority.c index 5b374ff1c96e..25ad25ed9783 100644 --- a/arch/blackfin/mach-common/ints-priority.c +++ b/arch/blackfin/mach-common/ints-priority.c | |||
@@ -167,7 +167,6 @@ static void bfin_internal_mask_irq(unsigned int irq) | |||
167 | bfin_write_SIC_IMASK(mask_bank, bfin_read_SIC_IMASK(mask_bank) & | 167 | bfin_write_SIC_IMASK(mask_bank, bfin_read_SIC_IMASK(mask_bank) & |
168 | ~(1 << mask_bit)); | 168 | ~(1 << mask_bit)); |
169 | #endif | 169 | #endif |
170 | SSYNC(); | ||
171 | } | 170 | } |
172 | 171 | ||
173 | static void bfin_internal_unmask_irq(unsigned int irq) | 172 | static void bfin_internal_unmask_irq(unsigned int irq) |
@@ -182,7 +181,6 @@ static void bfin_internal_unmask_irq(unsigned int irq) | |||
182 | bfin_write_SIC_IMASK(mask_bank, bfin_read_SIC_IMASK(mask_bank) | | 181 | bfin_write_SIC_IMASK(mask_bank, bfin_read_SIC_IMASK(mask_bank) | |
183 | (1 << mask_bit)); | 182 | (1 << mask_bit)); |
184 | #endif | 183 | #endif |
185 | SSYNC(); | ||
186 | } | 184 | } |
187 | 185 | ||
188 | #ifdef CONFIG_PM | 186 | #ifdef CONFIG_PM |
@@ -960,8 +958,6 @@ static void bfin_demux_gpio_irq(unsigned int inta_irq, | |||
960 | 958 | ||
961 | void __init init_exception_vectors(void) | 959 | void __init init_exception_vectors(void) |
962 | { | 960 | { |
963 | SSYNC(); | ||
964 | |||
965 | /* cannot program in software: | 961 | /* cannot program in software: |
966 | * evt0 - emulation (jtag) | 962 | * evt0 - emulation (jtag) |
967 | * evt1 - reset | 963 | * evt1 - reset |