linux-mips
[Top] [All Lists]

[PATCH 1/2] MIPS: Octeon: Fix compile error in arch/mips/cavium-octeon/s

To: linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: [PATCH 1/2] MIPS: Octeon: Fix compile error in arch/mips/cavium-octeon/smp.c
From: David Daney <ddaney@caviumnetworks.com>
Date: Thu, 1 Oct 2009 16:47:38 -0700
Cc: David Daney <ddaney@caviumnetworks.com>
In-reply-to: <4AC53F75.4090902@caviumnetworks.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <4AC53F75.4090902@caviumnetworks.com>
Sender: linux-mips-bounce@linux-mips.org
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
---
 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 32d51a3..c198efd 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);
 }
 
-- 
1.6.0.6


<Prev in Thread] Current Thread [Next in Thread>