diff options
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 5cfbe1a1479..856649cf9f1 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 | } |