Re: [PATCH] irqchip: gic-v3: Only define gic_peek_irq() when building SMP

From: Marc Zyngier
Date: Mon Jul 28 2014 - 12:01:26 EST

On 27/07/14 17:57, Mark Brown wrote:
> From: Mark Brown <broonie@xxxxxxxxxx>
> 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@xxxxxxxxxx>

Looks sane to me.

Acked-by: Marc Zyngier <marc.zyngier@xxxxxxx>

Jazz is not dead. It just smells funny...
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at