commit | df049a5f41a3b2eee2131221959e3b558ba7c705 | [log] [tgz] |
---|---|---|
author | Johannes Weiner <hannes@saeurebad.de> | Wed Jul 23 21:28:02 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jul 24 10:47:20 2008 -0700 |
tree | dcba7fb3e442838e93e2fb0deb66acc79372b123 | |
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>