summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJohannes Weiner <hannes@saeurebad.de>2008-07-23 21:28:02 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-24 10:47:20 -0700
commitdf049a5f41a3b2eee2131221959e3b558ba7c705 (patch)
treedcba7fb3e442838e93e2fb0deb66acc79372b123 /scripts
parent2e5237daf0cc3c8d87762f53f704dc54fa91dcf6 (diff)
downloadlinux-3.10-df049a5f41a3b2eee2131221959e3b558ba7c705.tar.gz
linux-3.10-df049a5f41a3b2eee2131221959e3b558ba7c705.tar.bz2
linux-3.10-df049a5f41a3b2eee2131221959e3b558ba7c705.zip
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 'scripts')
0 files changed, 0 insertions, 0 deletions