linux-mips
[Top] [All Lists]

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

To: David Daney <ddaney@caviumnetworks.com>
Subject: Re: [PATCH 1/3] MIPS: Octeon: Remove superfluous on_each_cpu parameter
From: Yang Shi <yang.shi@windriver.com>
Date: Thu, 04 Mar 2010 10:08:37 +0800
Cc: ralf@linux-mips.org, f.fainelli@gmail.com, linux-mips@linux-mips.org
In-reply-to: <4B8EA1FD.5050007@caviumnetworks.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1267605801-5305-1-git-send-email-yang.shi@windriver.com> <fd8fb199609e60a5b6c10e2073976a3f6b599109.1267604875.git.yang.shi@windriver.com> <4B8EA1FD.5050007@caviumnetworks.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 2.0.0.23 (X11/20090817)
David Daney 写道:
On 03/03/2010 12:43 AM, Yang Shi wrote:
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>


NAK!  We are removing CONFIG_CAVIUM_RESERVE32_USE_WIRED_TLB completely.

I will send the removal patch soon.

Thanks David. Will apply your patch to remove WIRED_TLB.

Regards,
Yang

David Daney

---
  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
  }





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