[PATCH] irqchip: gic-v3: Only define gic_peek_irq() when building SMP
broonie at kernel.org
Sat Sep 6 05:54:48 PDT 2014
On Sun, Aug 17, 2014 at 12:57:36PM -0400, Jason Cooper wrote:
> On Sun, Jul 27, 2014 at 05:57:04PM +0100, Mark Brown wrote:
> > From: Mark Brown <broonie at 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.
> Applied to irqchip/urgent with Mark's Ack.
This also appears to have disappeared from -next and again the warning
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 473 bytes
Desc: Digital signature
More information about the linux-arm-kernel