summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/mach-au1x00
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-10-15 02:00:06 +0200
committerRalf Baechle <ralf@linux-mips.org>2007-10-16 19:23:48 +0200
commit56f621c7f6f735311eed3f36858b402013023c18 (patch)
tree0aea37bf1b830f029ebca99d2608deec33b7516c /include/asm-mips/mach-au1x00
parent[MIPS] Alchemy: cleanup interrupt code. (diff)
downloadlinux-56f621c7f6f735311eed3f36858b402013023c18.tar.xz
linux-56f621c7f6f735311eed3f36858b402013023c18.zip
[MIPS] Alchemy: Get rid of au_ffs().
It was plain a bad idea ... Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/mach-au1x00')
-rw-r--r--include/asm-mips/mach-au1x00/au1000.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/asm-mips/mach-au1x00/au1000.h b/include/asm-mips/mach-au1x00/au1000.h
index 10f613f23c33..6cd6e8b8cd20 100644
--- a/include/asm-mips/mach-au1x00/au1000.h
+++ b/include/asm-mips/mach-au1x00/au1000.h
@@ -98,16 +98,6 @@ static __inline__ int au_ffz(unsigned int x)
return __ilog2(x & -x);
}
-/*
- * ffs: find first bit set. This is defined the same way as
- * the libc and compiler builtin ffs routines, therefore
- * differs in spirit from the above ffz (man ffs).
- */
-static __inline__ int au_ffs(int x)
-{
- return __ilog2(x & -x) + 1;
-}
-
/* arch/mips/au1000/common/clocks.c */
extern void set_au1x00_speed(unsigned int new_freq);
extern unsigned int get_au1x00_speed(void);