linux-mips
[Top] [All Lists]

[PATCH] Make it compile.

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH] Make it compile.
From: Alexey Zaytsev <zaytsev@altell.ru>
Date: Wed, 10 Jun 2009 18:00:15 +0400
Cc: linux-mips@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: StGit/0.14.3.328.gd3b3
Signed-off-by: Alexey Zaytsev <zaytsev@altell.ru>
---
 arch/mips/lib/delay.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/lib/delay.c b/arch/mips/lib/delay.c
index f69c6b5..222bed0 100644
--- a/arch/mips/lib/delay.c
+++ b/arch/mips/lib/delay.c
@@ -51,6 +51,6 @@ void __ndelay(unsigned long ns)
 {
        unsigned int lpj = current_cpu_data.udelay_val;
 
-       __delay((us * 0x00000005 * HZ * lpj) >> 32);
+       __delay((ns * 0x00000005 * HZ * lpj) >> 32);
 }
 EXPORT_SYMBOL(__ndelay);


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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