diff options
author | David Daney <ddaney@caviumnetworks.com> | 2009-10-01 16:47:38 -0700 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-11-02 12:00:01 +0100 |
commit | 067f3290f7508f492e2f838222766fa1874606c5 (patch) | |
tree | 62122a321ec40cb6e7b2eebaf7efbb05b08f9f5f /arch/mips/cavium-octeon | |
parent | d30cecbcbe149a36a354757cea835c1bb28689cf (diff) | |
download | kernel-crypto-067f3290f7508f492e2f838222766fa1874606c5.tar.gz kernel-crypto-067f3290f7508f492e2f838222766fa1874606c5.tar.xz kernel-crypto-067f3290f7508f492e2f838222766fa1874606c5.zip |
MIPS: Octeon: Fix compile error in arch/mips/cavium-octeon/smp.c
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/cavium-octeon')
-rw-r--r-- | arch/mips/cavium-octeon/smp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/mips/cavium-octeon/smp.c b/arch/mips/cavium-octeon/smp.c index 32d51a31dc4..c198efdf583 100644 --- a/arch/mips/cavium-octeon/smp.c +++ b/arch/mips/cavium-octeon/smp.c @@ -65,11 +65,12 @@ void octeon_send_ipi_single(int cpu, unsigned int action) cvmx_write_csr(CVMX_CIU_MBOX_SETX(coreid), action); } -static inline void octeon_send_ipi_mask(cpumask_t mask, unsigned int action) +static inline void octeon_send_ipi_mask(const struct cpumask *mask, + unsigned int action) { unsigned int i; - for_each_cpu_mask(i, mask) + for_each_cpu_mask(i, *mask) octeon_send_ipi_single(i, action); } |