mm-vmalloc-fix-align-value-calculation-error-fix
[deliverable/linux.git] / mm / vmalloc.c
index 7d717f3eb2884bdaf1dc7bdbe9868a87e4255e6b..08032de13ebefde27b9dccecc15c290cb620f36f 100644 (file)
@@ -1360,7 +1360,7 @@ static struct vm_struct *__get_vm_area_node(unsigned long size,
 
        BUG_ON(in_interrupt());
        if (flags & VM_IOREMAP)
-               align = 1ul << clamp_t(int, get_order_long(size),
+               align = 1ul << clamp_t(int, get_count_order_long(size),
                                       PAGE_SHIFT, IOREMAP_MAX_ORDER);
 
        size = PAGE_ALIGN(size);
This page took 0.025848 seconds and 5 git commands to generate.