linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
To: Alexey Zaytsev <zaytsev@altell.ru>
Cc: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org
Subject: Re: [PATCH] Make it compile.
Date: Wed, 10 Jun 2009 18:15:01 +0400	[thread overview]
Message-ID: <4A2FBFE5.2090205@ru.mvista.com> (raw)
In-Reply-To: <20090610140002.17913.33485.stgit@bzz.altell.local>

Hello.

Alexey Zaytsev wrote:

> Signed-off-by: Alexey Zaytsev <zaytsev@altell.ru>

> 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);

    This (and more) is already fixed by the patch posted by Atsushi Nemoto.

>  }
>  EXPORT_SYMBOL(__ndelay);

WBR, Sergei

  reply	other threads:[~2009-06-10 14:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-10 14:00 [PATCH] Make it compile Alexey Zaytsev
2009-06-10 14:15 ` Sergei Shtylyov [this message]
2009-06-11 11:46   ` Alexey Zaytsev
2009-06-12 12:33     ` Ralf Baechle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A2FBFE5.2090205@ru.mvista.com \
    --to=sshtylyov@ru.mvista.com \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    --cc=zaytsev@altell.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).