summaryrefslogtreecommitdiff
path: root/include/media/ivtv.h
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2007-10-11 09:06:03 +0400
committerPierre Ossman <drzeus@drzeus.cx>2007-10-11 21:09:08 +0400
commit019a5f56ec195aceadada18aaaad0f67294bdaef (patch)
treed31830cf7ec683ef6fd6719236011c9ded649847 /include/media/ivtv.h
parentc783837bc69dd0f329a441c1704f5a02d01d1bd5 (diff)
downloadlinux-019a5f56ec195aceadada18aaaad0f67294bdaef.tar.xz
mmc: don't use weight32()
Using weight32() to determine if a value is a power of 2 is a rather heavi weight solution. The classic idiom is (x & (x - 1)) == 0, but the kernel already provide a is_power_of_2 function for it. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'include/media/ivtv.h')
0 files changed, 0 insertions, 0 deletions