linux-mips
[Top] [All Lists]

[PATCH 1/3] MIPS: Octeon: Remove superfluous on_each_cpu parameter

To: ddaney@caviumnetworks.com, ralf@linux-mips.org, f.fainelli@gmail.com
Subject: [PATCH 1/3] MIPS: Octeon: Remove superfluous on_each_cpu parameter
From: Yang Shi <yang.shi@windriver.com>
Date: Wed, 3 Mar 2010 16:43:19 +0800
Cc: linux-mips@linux-mips.org
In-reply-to: <1267605801-5305-1-git-send-email-yang.shi@windriver.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1267605801-5305-1-git-send-email-yang.shi@windriver.com>
Sender: linux-mips-bounce@linux-mips.org
Now, on_each_cpu just need three parameters, but the on_each_cpu
still uses four parameters in Octeon's setup.c. So, remove the
superfluous parameter.

Signed-off-by: Yang Shi <yang.shi@windriver.com>
---
 arch/mips/cavium-octeon/setup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/cavium-octeon/setup.c b/arch/mips/cavium-octeon/setup.c
index b321d3b..4eaa35f 100644
--- a/arch/mips/cavium-octeon/setup.c
+++ b/arch/mips/cavium-octeon/setup.c
@@ -230,7 +230,7 @@ static void octeon_hal_setup_per_cpu_reserved32(void 
*unused)
 void octeon_hal_setup_reserved32(void)
 {
 #ifdef CONFIG_CAVIUM_RESERVE32_USE_WIRED_TLB
-       on_each_cpu(octeon_hal_setup_per_cpu_reserved32, NULL, 0, 1);
+       on_each_cpu(octeon_hal_setup_per_cpu_reserved32, NULL, 1);
 #endif
 }
 
-- 
1.6.3.3


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