linux-mips
[Top] [All Lists]

[PATCH] MIPS: Octeon: Fix build error in cavium-octeon/cpu.c

To: linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: [PATCH] MIPS: Octeon: Fix build error in cavium-octeon/cpu.c
From: David Daney <ddaney@caviumnetworks.com>
Date: Mon, 26 Jul 2010 14:07:27 -0700
Cc: David Daney <ddaney@caviumnetworks.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
This file was not building.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
---

Building against linux-queue I was getting errors due to changes in
cu2_notifier.

 arch/mips/cavium-octeon/cpu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/cavium-octeon/cpu.c b/arch/mips/cavium-octeon/cpu.c
index 0ad070c..c664c8c 100644
--- a/arch/mips/cavium-octeon/cpu.c
+++ b/arch/mips/cavium-octeon/cpu.c
@@ -43,6 +43,6 @@ static int cnmips_cu2_call(struct notifier_block *nfb, 
unsigned long action,
 
 static int cnmips_cu2_setup(void)
 {
-       return cu2_notifier(cnmips_cu2_call);
+       return cu2_notifier(cnmips_cu2_call, 0);
 }
 early_initcall(cnmips_cu2_setup);
-- 
1.7.1.1


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