[Top] [All Lists]

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

To: Thomas Bogendoerfer <>
Subject: Re: [PATCH] Fix __fls for non mips32/mips64 cpus
From: Ralf Baechle <>
Date: Sun, 4 May 2008 22:58:37 +0100
In-reply-to: <>
Original-recipient: rfc822;
References: <>
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 <>

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


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