diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-08-26 19:29:11 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-08-26 21:17:00 -0400 |
commit | 52625caaee4930995ab25e0855713a7a2dd89151 (patch) | |
tree | 23c551643cdfcace37e5011809be4aec70892b72 /arch/mips/sgi-ip27/ip27-irq.c | |
parent | 84ced30675b1454f1c2dca1fe055ae75eb1df53e (diff) |
[MIPS] IP27: intr_sconnect_level: don't disable interrupts.
There is no reason to.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sgi-ip27/ip27-irq.c')
-rw-r--r-- | arch/mips/sgi-ip27/ip27-irq.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/mips/sgi-ip27/ip27-irq.c b/arch/mips/sgi-ip27/ip27-irq.c index 5cfbe1a1479c..856649cf9f1e 100644 --- a/arch/mips/sgi-ip27/ip27-irq.c +++ b/arch/mips/sgi-ip27/ip27-irq.c | |||
@@ -207,11 +207,9 @@ static int intr_connect_level(int cpu, int bit) | |||
207 | { | 207 | { |
208 | nasid_t nasid = COMPACT_TO_NASID_NODEID(cpu_to_node(cpu)); | 208 | nasid_t nasid = COMPACT_TO_NASID_NODEID(cpu_to_node(cpu)); |
209 | struct slice_data *si = cpu_data[cpu].data; | 209 | struct slice_data *si = cpu_data[cpu].data; |
210 | unsigned long flags; | ||
211 | 210 | ||
212 | set_bit(bit, si->irq_enable_mask); | 211 | set_bit(bit, si->irq_enable_mask); |
213 | 212 | ||
214 | local_irq_save(flags); | ||
215 | if (!cputoslice(cpu)) { | 213 | if (!cputoslice(cpu)) { |
216 | REMOTE_HUB_S(nasid, PI_INT_MASK0_A, si->irq_enable_mask[0]); | 214 | REMOTE_HUB_S(nasid, PI_INT_MASK0_A, si->irq_enable_mask[0]); |
217 | REMOTE_HUB_S(nasid, PI_INT_MASK1_A, si->irq_enable_mask[1]); | 215 | REMOTE_HUB_S(nasid, PI_INT_MASK1_A, si->irq_enable_mask[1]); |
@@ -219,7 +217,6 @@ static int intr_connect_level(int cpu, int bit) | |||
219 | REMOTE_HUB_S(nasid, PI_INT_MASK0_B, si->irq_enable_mask[0]); | 217 | REMOTE_HUB_S(nasid, PI_INT_MASK0_B, si->irq_enable_mask[0]); |
220 | REMOTE_HUB_S(nasid, PI_INT_MASK1_B, si->irq_enable_mask[1]); | 218 | REMOTE_HUB_S(nasid, PI_INT_MASK1_B, si->irq_enable_mask[1]); |
221 | } | 219 | } |
222 | local_irq_restore(flags); | ||
223 | 220 | ||
224 | return 0; | 221 | return 0; |
225 | } | 222 | } |