linux-mips
[Top] [All Lists]

Re: [PATCH] Alchemy: get rid of allow_au1k_wait

To: Manuel Lauss <manuel.lauss@googlemail.com>
Subject: Re: [PATCH] Alchemy: get rid of allow_au1k_wait
From: Ralf Baechle <ralf@linux-mips.org>
Date: Thu, 27 Aug 2009 12:08:19 +0100
Cc: Linux-MIPS <linux-mips@linux-mips.org>, Manuel Lauss <manuel.lauss@gmail.com>
In-reply-to: <1250957367-14389-1-git-send-email-manuel.lauss@gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1250957367-14389-1-git-send-email-manuel.lauss@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.19 (2009-01-05)
On Sat, Aug 22, 2009 at 06:09:27PM +0200, Manuel Lauss wrote:

> Eliminate the 'allow_au1k_wait' variable.  MIPS kernel installs the
> Alchemy-specific wait code before timer initialization;  if the C0
> timer must be used for timekeeping the wait function is set to NULL
> which means no wait implementation is available.
> 
> As a sideeffect, the 'wait instruction available' output in
> /proc/cpuinfo now correctly indicates whether 'wait' is usable.
> 
> Run-tested on DB1200.

Queued, thanks Manuel!

  Ralf

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