diff options
author | 2008-02-06 01:36:54 -0800 | |
---|---|---|
committer | 2008-02-06 10:41:03 -0800 | |
commit | de9330d13eac1f331e63ab1d18c506365b0151f3 (patch) | |
tree | 67fc0eb97f706d8cb39485dba50da9f9918c3f3f /include/linux/kernel.h | |
parent | cciss: use upper_32_bits() macro to eliminate warnings (diff) | |
download | wireguard-linux-de9330d13eac1f331e63ab1d18c506365b0151f3.tar.xz wireguard-linux-de9330d13eac1f331e63ab1d18c506365b0151f3.zip |
log2.h: Define order_base_2() macro for convenience.
Given a number of places in the tree that need to calculate this value
explicitly, might as well just create a macro for it.
(akpm: must be implemented as a macro for callee typeof() usage)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions