From: Milton Miller Date: Tue, 10 May 2011 19:29:02 +0000 (+0000) Subject: powerpc/mpic: Break cpumask abstraction earlier X-Git-Tag: v3.0-rc1~385^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a116f3dd07cbb55b440d3841fc24a0b3fd99ccd;p=pandora-kernel.git powerpc/mpic: Break cpumask abstraction earlier mpic_set_affinity is allocating and freeing a cpumask var even though it was breaking the cpumask abstraction when passing the mask to mpic_physmask. It also didn't have any check for allocatin failure. Break the cpumask abstraction earlier and use simple bitwise and of the bits from the mask with the bits of cpu_online_mask. Signed-off-by: Milton Miller Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed