aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-10-14 20:02:43 -0400
committerRalf Baechle <ralf@linux-mips.org>2007-10-16 13:23:48 -0400
commitd2126e230d3db20ee7f3ef2dc70bb241aafd4f80 (patch)
tree81058af2560e748b1573d98ce2de4905bff4e735 /include
parent56f621c7f6f735311eed3f36858b402013023c18 (diff)
[MIPS] Alchemy: Get rid of au_ffz().
There were no users - and why have a private version anyway. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-mips/mach-au1x00/au1000.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/asm-mips/mach-au1x00/au1000.h b/include/asm-mips/mach-au1x00/au1000.h
index 6cd6e8b8cd20..630138f6f918 100644
--- a/include/asm-mips/mach-au1x00/au1000.h
+++ b/include/asm-mips/mach-au1x00/au1000.h
@@ -91,13 +91,6 @@ static inline u32 au_readl(unsigned long reg)
91} 91}
92 92
93 93
94static __inline__ int au_ffz(unsigned int x)
95{
96 if ((x = ~x) == 0)
97 return 32;
98 return __ilog2(x & -x);
99}
100
101/* arch/mips/au1000/common/clocks.c */ 94/* arch/mips/au1000/common/clocks.c */
102extern void set_au1x00_speed(unsigned int new_freq); 95extern void set_au1x00_speed(unsigned int new_freq);
103extern unsigned int get_au1x00_speed(void); 96extern unsigned int get_au1x00_speed(void);