[PATCH] ARM: pmu: avoid setting IRQ affinity on UP systems

Jamie Iles jamie at jamieiles.com
Thu Feb 17 11:24:21 EST 2011


On Tue, Feb 15, 2011 at 12:11:39PM +0000, Will Deacon wrote:
> Now that we can execute a CONFIG_SMP kernel on a uniprocessor system,
> extra care has to be taken in the PMU IRQ affinity setting code to
> ensure that we don't always fail to initialise.
> 
> This patch changes the CPU PMU initialisation code so that when we
> only have a single IRQ, whose affinity can not be changed at the
> controller, we report success (0) rather than -EINVAL.
> 
> Cc: Jamie Iles <jamie at jamieiles.com>
> Reported-by: Avik Sil <avik.sil at linaro.org>
> Signed-off-by: Will Deacon <will.deacon at arm.com>

Look good!

Acked-by: Jamie Iles <jamie at jamieiles.com>

Jamie



More information about the linux-arm-kernel mailing list