On 27/07/14 17:57, Mark Brown wrote:
From: Mark Brown broonie@linaro.org
If building with CONFIG_SMP disbled (for example, with allnoconfig) then GCC complains that the static function gic_peek_irq() is defined but not used since the only reference is in the SMP initialisation code. Fix this by moving the function definition inside the ifdef.
Signed-off-by: Mark Brown broonie@linaro.org
Looks sane to me.
Acked-by: Marc Zyngier marc.zyngier@arm.com
M.