From: Ezequiel Garcia Date: Tue, 3 Mar 2015 10:43:14 +0000 (+0100) Subject: irqchip: armada-370-xp: Initialize per cpu registers when CONFIG_SMP=N X-Git-Tag: omap-for-v4.2/o2_dc~161^2~1^2~5^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=933a24b06b42617ef9fffece1857c5c4b23329aa;p=pandora-kernel.git 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 Signed-off-by: Maxime Ripard Acked-by: Gregory CLEMENT Link: https://lkml.kernel.org/r/1425379400-4346-2-git-send-email-maxime.ripard@free-electrons.com Signed-off-by: Jason Cooper --- Reading git-diff-tree failed