linux-mips
[Top] [All Lists]

Re: [PATCH] Fix __fls for non mips32/mips64 cpus

To: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Subject: Re: [PATCH] Fix __fls for non mips32/mips64 cpus
From: Ralf Baechle <ralf@linux-mips.org>
Date: Sun, 4 May 2008 22:58:37 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <20080503222502.52F3BFAB11@solo.franken.de>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20080503222502.52F3BFAB11@solo.franken.de>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.17 (2007-11-01)
On Sun, May 04, 2008 at 12:25:02AM +0200, Thomas Bogendoerfer wrote:

> Only MIPS32 and MIPS64 CPUs implement clz/dclz. Therefore don't
> export __ilog2() for non MIPS32/MIPS64 cpus and use generic
> __fls bitop code for these cpus.
> 
> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>

Applied, thanks.  I committed a followup patch to get rid of __ilog2.

  Ralf

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