Unify instances of integer log2
authorH. Peter Anvin <hpa@linux.intel.com>
Wed, 9 Jun 2010 18:21:52 +0000 (11:21 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 9 Jun 2010 18:26:22 +0000 (11:26 -0700)
commit8ae3122d64ef1434b2b11b25cacd77d65663b3fa
treef81648afbee88ed39e19b65de96f164de544313d
parent95c91f42886abdd9af08cbed66b50dd37eb555dc
Unify instances of integer log2

Unify multiple open-coded instances of integer binary logarithm.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
com32/include/ilog2.h [new file with mode: 0644]
com32/lib/sys/vesa/background.c
com32/lib/sys/vesa/screencpy.c
core/fs/fat/fat.c