diff options
author | Johannes Weiner <hannes@saeurebad.de> | 2008-07-24 00:28:02 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-24 13:47:20 -0400 |
commit | df049a5f41a3b2eee2131221959e3b558ba7c705 (patch) | |
tree | dcba7fb3e442838e93e2fb0deb66acc79372b123 /mm/slub.c | |
parent | 2e5237daf0cc3c8d87762f53f704dc54fa91dcf6 (diff) |
bootmem: revisit bitmap size calculations
Reincarnate get_mapsize as bootmap_bytes and implement
bootmem_bootmap_pages on top of it.
Adjust users of these helpers and make free_all_bootmem_core use
bootmem_bootmap_pages instead of open-coding it.
Signed-off-by: Johannes Weiner <hannes@saeurebad.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/slub.c')
0 files changed, 0 insertions, 0 deletions