mm/bootmem.c: cosmetic improvement of code readability
[linux-2.6-block.git] / mm / bootmem.c
index e8a55a3c9febae80fab4627bc8f0846f4326c56a..9fedb27c6451418035fdf26300fbdf8d9c7fc6c9 100644 (file)
@@ -53,7 +53,7 @@ early_param("bootmem_debug", bootmem_debug_setup);
 
 static unsigned long __init bootmap_bytes(unsigned long pages)
 {
-       unsigned long bytes = DIV_ROUND_UP(pages, 8);
+       unsigned long bytes = DIV_ROUND_UP(pages, BITS_PER_BYTE);
 
        return ALIGN(bytes, sizeof(long));
 }