]> git.pld-linux.org Git - packages/kernel.git/blame - linux-2.4.21-dm-fls-redefined.patch
- added description of djurban's branch
[packages/kernel.git] / linux-2.4.21-dm-fls-redefined.patch
CommitLineData
1173f7ab
JR
1--- linux-2.4.21/drivers/md/dm-io.c.orig Tue Aug 19 18:03:52 2003
2+++ linux-2.4.21/drivers/md/dm-io.c Tue Aug 19 18:08:06 2003
3@@ -177,11 +177,6 @@
4 /*
5 * Primitives for alignment calculations.
6 */
7-int fls(unsigned n)
8-{
9- return generic_fls32(n);
10-}
11-
12 static inline int log2_floor(unsigned n)
13 {
14 return ffs(n) - 1;
15@@ -189,7 +184,7 @@
16
17 static inline int log2_align(unsigned n)
18 {
19- return fls(n) - 1;
20+ return generic_fls32(n) - 1;
21 }
22
23 /*
This page took 1.06452 seconds and 4 git commands to generate.