From: Arnaud Ebalard Date: Mon, 20 Jan 2014 21:52:05 +0000 (+0100) Subject: ARM: mvebu: fix compilation warning on Armada 370 (i.e. non-SMP) X-Git-Tag: v3.14-rc1~7^2~9^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19e61d41404fe4094c2d54943dbf883d9bbca864;p=pandora-kernel.git ARM: mvebu: fix compilation warning on Armada 370 (i.e. non-SMP) The following appears during compilation for an Armada 370 target because 'irq_controller_lock' is used only when CONFIG_SMP is enabled: drivers/irqchip/irq-armada-370-xp.c:62:8: warning: 'irq_controller_lock' defined but not used [-Wunused-variable] Fix that warning by moving declaration of 'irq_controller_lock' inside existing #ifdef. Signed-off-by: Arnaud Ebalard Signed-off-by: Jason Cooper --- Reading git-diff-tree failed