diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-05-06 18:01:46 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-05-06 18:01:46 +1000 |
commit | 2ef613cb94556ff69860f6bf004298f4e131c216 (patch) | |
tree | 9eee51c30ab58cd1b837f4d5ebe30a68c9f5314f /arch/powerpc/sysdev/dcr.c | |
parent | 828a69869ba266cabb486a6b59ea8643d56b33ce (diff) | |
download | blackbird-obmc-linux-2ef613cb94556ff69860f6bf004298f4e131c216.tar.gz blackbird-obmc-linux-2ef613cb94556ff69860f6bf004298f4e131c216.zip |
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 <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev/dcr.c')
0 files changed, 0 insertions, 0 deletions