summaryrefslogtreecommitdiffstats
path: root/include/asm-i386/cmpxchg.h
diff options
context:
space:
mode:
authorVignesh Babu <vignesh.babu@wipro.com>2007-06-12 07:01:05 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-07-18 15:55:26 +0200
commit7753f1692f53d82b4cc08084462b0fd2803c1f04 (patch)
tree1af69abb56aaa61f4b149ce044c3b214d581db6d /include/asm-i386/cmpxchg.h
parentUBI: fix freeing ubi->vtbl while unloading (diff)
downloadlinux-7753f1692f53d82b4cc08084462b0fd2803c1f04.tar.xz
linux-7753f1692f53d82b4cc08084462b0fd2803c1f04.zip
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>
Diffstat (limited to 'include/asm-i386/cmpxchg.h')
0 files changed, 0 insertions, 0 deletions