linux/drivers/mtd/ubi
Vignesh Babu 7753f1692f UBI: use is_power_of_2()
Replacing (n & (n-1)) in the context of power of 2 checks
with is_power_of_2

Signed-off-by: Vignesh Babu <vignesh.babu@wipro.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2007-07-18 16:55:26 +03:00
..
Kconfig UBI: Unsorted Block Images 2007-04-27 14:23:33 +03:00
Kconfig.debug UBI: Unsorted Block Images 2007-04-27 14:23:33 +03:00
Makefile UBI: Unsorted Block Images 2007-04-27 14:23:33 +03:00
build.c UBI: use is_power_of_2() 2007-07-18 16:55:26 +03:00
cdev.c UBI: cleanup ioctl handling 2007-07-18 16:53:36 +03:00
debug.c UBI: kill homegrown endian macros 2007-07-18 16:53:49 +03:00
debug.h UBI: Unsorted Block Images 2007-04-27 14:23:33 +03:00
eba.c UBI: bugfix in ubi_leb_change() 2007-07-18 16:53:57 +03:00
gluebi.c UBI: set correct gluebi device size 2007-07-18 16:52:51 +03:00
io.c UBI: kill homegrown endian macros 2007-07-18 16:53:49 +03:00
kapi.c UBI: do not let to read too much 2007-07-18 16:52:42 +03:00
misc.c UBI: use vmalloc for large buffers 2007-07-18 16:53:08 +03:00
scan.c UBI: kill homegrown endian macros 2007-07-18 16:53:49 +03:00
scan.h UBI: fix error path in create_vtbl() 2007-07-18 16:52:32 +03:00
ubi.h UBI: use vmalloc for large buffers 2007-07-18 16:53:08 +03:00
upd.c UBI: use vmalloc for large buffers 2007-07-18 16:53:08 +03:00
vmt.c UBI: kill homegrown endian macros 2007-07-18 16:53:49 +03:00
vtbl.c UBI: kill homegrown endian macros 2007-07-18 16:53:49 +03:00
wl.c UBI: kill homegrown endian macros 2007-07-18 16:53:49 +03:00