arm: add __ilog2 function
authorRob Herring <rob.herring@calxeda.com>
Tue, 5 Jul 2011 04:38:51 +0000 (04:38 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 16 Jul 2011 11:00:11 +0000 (13:00 +0200)
commit0b9bc73711aed13246dd2cb91a3f658eeb25baf5
treeb26c3da20acebabca94d35f91a587815ccbffc06
parenta60d1e5b8e5007f53c198acc5ca636ae570ae180
arm: add __ilog2 function

Add __ilog2 function for ARM. Needed for ahci.c

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Albert ARIBAUD <albert.aribaud@free.fr>
arch/arm/include/asm/bitops.h