diff options
author | David Howells <dhowells@redhat.com> | 2006-12-08 02:37:52 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 08:28:51 -0800 |
commit | 39d61db0edb34d60b83c5e0d62d0e906578cc707 (patch) | |
tree | 6bbf32fe84eaa8bd8e194aab278274039d2d6440 /fs/block_dev.c | |
parent | 312a0c170945b49f319960afd2e492c05f9dd551 (diff) |
[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 'fs/block_dev.c')
0 files changed, 0 insertions, 0 deletions