Messages in this thread | | | Date | Mon, 28 Jul 2014 17:01:13 +0100 | From | Marc Zyngier <> | Subject | Re: [PATCH] irqchip: gic-v3: Only define gic_peek_irq() when building SMP |
| |
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. -- Jazz is not dead. It just smells funny...
| |