From mboxrd@z Thu Jan 1 00:00:00 1970 From: will.deacon@arm.com (Will Deacon) Date: Fri, 18 Feb 2011 15:22:53 -0000 Subject: [PATCH] ARM: pmu: avoid setting IRQ affinity on UP systems In-Reply-To: <20110217162421.GC941@pulham.picochip.com> References: <1297771899-23209-1-git-send-email-will.deacon@arm.com> <20110217162421.GC941@pulham.picochip.com> Message-ID: <002401cbcf7f$b62c1690$228443b0$@deacon@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 > > Reported-by: Avik Sil > > Signed-off-by: Will Deacon > > Look good! > > Acked-by: Jamie Iles Cheers. I've submitted this as 6742/1 with a minor change (deleted the out: label as it's no longer used). Will