Commit 52625caa authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] IP27: intr_sconnect_level: don't disable interrupts.

There is no reason to.
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 84ced306
...@@ -207,11 +207,9 @@ static int intr_connect_level(int cpu, int bit) ...@@ -207,11 +207,9 @@ static int intr_connect_level(int cpu, int bit)
{ {
nasid_t nasid = COMPACT_TO_NASID_NODEID(cpu_to_node(cpu)); nasid_t nasid = COMPACT_TO_NASID_NODEID(cpu_to_node(cpu));
struct slice_data *si = cpu_data[cpu].data; struct slice_data *si = cpu_data[cpu].data;
unsigned long flags;
set_bit(bit, si->irq_enable_mask); set_bit(bit, si->irq_enable_mask);
local_irq_save(flags);
if (!cputoslice(cpu)) { if (!cputoslice(cpu)) {
REMOTE_HUB_S(nasid, PI_INT_MASK0_A, si->irq_enable_mask[0]); REMOTE_HUB_S(nasid, PI_INT_MASK0_A, si->irq_enable_mask[0]);
REMOTE_HUB_S(nasid, PI_INT_MASK1_A, si->irq_enable_mask[1]); 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,7 +217,6 @@ static int intr_connect_level(int cpu, int bit)
REMOTE_HUB_S(nasid, PI_INT_MASK0_B, si->irq_enable_mask[0]); REMOTE_HUB_S(nasid, PI_INT_MASK0_B, si->irq_enable_mask[0]);
REMOTE_HUB_S(nasid, PI_INT_MASK1_B, si->irq_enable_mask[1]); REMOTE_HUB_S(nasid, PI_INT_MASK1_B, si->irq_enable_mask[1]);
} }
local_irq_restore(flags);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment