diff options
author | David Howells <dhowells@redhat.com> | 2006-12-08 11:37:52 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 17:28:51 +0100 |
commit | 39d61db0edb34d60b83c5e0d62d0e906578cc707 (patch) | |
tree | 6bbf32fe84eaa8bd8e194aab278274039d2d6440 /block/ll_rw_blk.c | |
parent | [PATCH] LOG2: Alter roundup_pow_of_two() so that it can use a ilog2() on a co... (diff) | |
download | linux-39d61db0edb34d60b83c5e0d62d0e906578cc707.tar.xz linux-39d61db0edb34d60b83c5e0d62d0e906578cc707.zip |
[PATCH] LOG2: Alter get_order() so that it can make use of ilog2() on a constant
Alter get_order() so that it can make use of ilog2() on a constant to produce
a constant value, retaining the ability for an arch to override it in the
non-const case.
Signed-off-by: David Howells <dhowells@redhat.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'block/ll_rw_blk.c')
0 files changed, 0 insertions, 0 deletions