projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56f621c
)
[MIPS] Alchemy: Get rid of au_ffz().
author
Ralf Baechle
<ralf@linux-mips.org>
Mon, 15 Oct 2007 00:02:43 +0000
(
01:02
+0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Tue, 16 Oct 2007 17:23:48 +0000
(18:23 +0100)
There were no users - and why have a private version anyway.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/mach-au1x00/au1000.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-mips/mach-au1x00/au1000.h
b/include/asm-mips/mach-au1x00/au1000.h
index 6cd6e8b8cd20de2ef0e37a9d8ff884ea89956f20..630138f6f918370955fffa0515f5616374f1d268 100644
(file)
--- 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)
}
-static __inline__ int au_ffz(unsigned int x)
-{
- if ((x = ~x) == 0)
- return 32;
- return __ilog2(x & -x);
-}
-
/* arch/mips/au1000/common/clocks.c */
extern void set_au1x00_speed(unsigned int new_freq);
extern unsigned int get_au1x00_speed(void);