]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: remove unneeded round_up
authorYinghai Lu <Yinghai.Lu@Sun.COM>
Fri, 1 Feb 2008 16:49:42 +0000 (17:49 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 1 Feb 2008 16:49:42 +0000 (17:49 +0100)
Signed-off-by: Yinghai Lu <yinghai.lu@sun.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/numa_64.c

index 9f533deb9dad7f27609cc1bbc0bc570e9d407bb9..a920d09b91948dcf8ea42b6c95f09fbbb07a2145 100644 (file)
@@ -168,10 +168,9 @@ static void * __init early_node_mem(int nodeid, unsigned long start,
        unsigned long mem = find_e820_area(start, end, size, align);
        void *ptr;
 
-       if (mem != -1L) {
-               mem = round_up(mem, align);
+       if (mem != -1L)
                return __va(mem);
-       }
+
        ptr = __alloc_bootmem_nopanic(size, align, __pa(MAX_DMA_ADDRESS));
        if (ptr == NULL) {
                printk(KERN_ERR "Cannot find %lu bytes in node %d\n",