From: Benjamin Herrenschmidt Date: Thu, 6 May 2010 08:01:46 +0000 (+1000) Subject: powerpc/cpumask: Convert mpic driver to new cpumask API X-Git-Tag: v2.6.35-rc1~450^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ef613cb94556ff69860f6bf004298f4e131c216;p=pandora-kernel.git powerpc/cpumask: Convert mpic driver to new cpumask API Convert to the new cpumask API. irq_choose_cpu can be simplified by using cpumask_next and cpumask_first. smp_mpic_message_pass was doing open coded cpumask manipulation and passing an int for a cpumask into mpic_send_ipi. Since mpic_send_ipi is only used locally, make it static and convert it to take a cpumask. This allows us to clean up the mess in smp_mpic_message_pass. Signed-off-by: Anton Blanchard Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed