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

Will Deacon will.deacon at arm.com
Fri Feb 18 10:22:53 EST 2011


Hi Jamie,

> 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>

Cheers. I've submitted this as 6742/1 with a minor change (deleted the out:
label as it's no longer used).

Will






More information about the linux-arm-kernel mailing list