irqchip: armada-370-xp: Initialize per cpu registers when CONFIG_SMP=N
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Tue, 3 Mar 2015 10:43:14 +0000 (11:43 +0100)
committerJason Cooper <jason@lakedaemon.net>
Sun, 8 Mar 2015 05:21:33 +0000 (05:21 +0000)
commit933a24b06b42617ef9fffece1857c5c4b23329aa
tree5461b7903616c587e0bdaf4b8af941b0dec6a915
parent5724be8464dceac047c1eaddaa3651cea0ec16ca
irqchip: armada-370-xp: Initialize per cpu registers when CONFIG_SMP=N

The irqchip driver called armada_xp_mpic_smp_cpu_init() when CONFIG_SMP=Y
to initialize some per cpu registers. The function is called on each
CPU by calling it explicitly on the boot CPU and then using a CPU notifier
for the non boot CPUs.

This commit removes the CONFIG_SMP constrain, so the per cpu registers are
also initialized when CONFIG_SMP=N, which is the right thing to do.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Link: https://lkml.kernel.org/r/1425379400-4346-2-git-send-email-maxime.ripard@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-armada-370-xp.c