diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2016-02-18 21:48:11 -0500 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2016-02-24 00:37:32 -0500 |
commit | d73b73f5626ac0b131b31b7b9457e19201bc570b (patch) | |
tree | a18e34e5a030277ad20ba88186cd3e4211a3d5c6 /arch/arc/kernel/mcip.c | |
parent | 3dea30ca5bef0e013abe857057a952a9d6757fe5 (diff) |
ARC: SMP: No need for CONFIG_ARC_IPI_DBG
This was more relevant during SMP bringup.
The warning for bogus msg better be visible always.
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel/mcip.c')
-rw-r--r-- | arch/arc/kernel/mcip.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/arc/kernel/mcip.c b/arch/arc/kernel/mcip.c index 7afc3c703ed1..7b4af70ffd18 100644 --- a/arch/arc/kernel/mcip.c +++ b/arch/arc/kernel/mcip.c | |||
@@ -65,7 +65,6 @@ static void mcip_ipi_clear(int irq) | |||
65 | { | 65 | { |
66 | unsigned int cpu, c; | 66 | unsigned int cpu, c; |
67 | unsigned long flags; | 67 | unsigned long flags; |
68 | unsigned int __maybe_unused copy; | ||
69 | 68 | ||
70 | if (unlikely(irq == SOFTIRQ_IRQ)) { | 69 | if (unlikely(irq == SOFTIRQ_IRQ)) { |
71 | arc_softirq_clear(irq); | 70 | arc_softirq_clear(irq); |
@@ -77,7 +76,7 @@ static void mcip_ipi_clear(int irq) | |||
77 | /* Who sent the IPI */ | 76 | /* Who sent the IPI */ |
78 | __mcip_cmd(CMD_INTRPT_CHECK_SOURCE, 0); | 77 | __mcip_cmd(CMD_INTRPT_CHECK_SOURCE, 0); |
79 | 78 | ||
80 | copy = cpu = read_aux_reg(ARC_REG_MCIP_READBACK); /* 1,2,4,8... */ | 79 | cpu = read_aux_reg(ARC_REG_MCIP_READBACK); /* 1,2,4,8... */ |
81 | 80 | ||
82 | /* | 81 | /* |
83 | * In rare case, multiple concurrent IPIs sent to same target can | 82 | * In rare case, multiple concurrent IPIs sent to same target can |
@@ -91,12 +90,6 @@ static void mcip_ipi_clear(int irq) | |||
91 | } while (cpu); | 90 | } while (cpu); |
92 | 91 | ||
93 | raw_spin_unlock_irqrestore(&mcip_lock, flags); | 92 | raw_spin_unlock_irqrestore(&mcip_lock, flags); |
94 | |||
95 | #ifdef CONFIG_ARC_IPI_DBG | ||
96 | if (c != __ffs(copy)) | ||
97 | pr_info("IPIs from %x coalesced to %x\n", | ||
98 | copy, raw_smp_processor_id()); | ||
99 | #endif | ||
100 | } | 93 | } |
101 | 94 | ||
102 | static void mcip_probe_n_setup(void) | 95 | static void mcip_probe_n_setup(void) |