diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-10-14 20:00:06 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-10-16 13:23:48 -0400 |
commit | 56f621c7f6f735311eed3f36858b402013023c18 (patch) | |
tree | 0aea37bf1b830f029ebca99d2608deec33b7516c /include/asm-mips | |
parent | 41bd61a8e357f79dc65502b22d9d124a619491c0 (diff) |
[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')
-rw-r--r-- | include/asm-mips/mach-au1x00/au1000.h | 10 |
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) | |||
98 | return __ilog2(x & -x); | 98 | return __ilog2(x & -x); |
99 | } | 99 | } |
100 | 100 | ||
101 | /* | ||
102 | * ffs: find first bit set. This is defined the same way as | ||
103 | * the libc and compiler builtin ffs routines, therefore | ||
104 | * differs in spirit from the above ffz (man ffs). | ||
105 | */ | ||
106 | static __inline__ int au_ffs(int x) | ||
107 | { | ||
108 | return __ilog2(x & -x) + 1; | ||
109 | } | ||
110 | |||
111 | /* arch/mips/au1000/common/clocks.c */ | 101 | /* arch/mips/au1000/common/clocks.c */ |
112 | extern void set_au1x00_speed(unsigned int new_freq); | 102 | extern void set_au1x00_speed(unsigned int new_freq); |
113 | extern unsigned int get_au1x00_speed(void); | 103 | extern unsigned int get_au1x00_speed(void); |