mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
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>
This commit is contained in:
parent
d30cecbcbe
commit
067f3290f7
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue