Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9347e0b0ce6255f4abef462d373577e7c8362fc6
Commit:     9347e0b0ce6255f4abef462d373577e7c8362fc6
Parent:     31f3dff6c536e33f97c8f5049e1dd0a392933265
Author:     Yinghai Lu <[EMAIL PROTECTED]>
AuthorDate: Fri Feb 1 17:49:42 2008 +0100
Committer:  Ingo Molnar <[EMAIL PROTECTED]>
CommitDate: Fri Feb 1 17:49:42 2008 +0100

    x86: remove unneeded round_up
    
    Signed-off-by: Yinghai Lu <[EMAIL PROTECTED]>
    Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>
---
 arch/x86/mm/numa_64.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/arch/x86/mm/numa_64.c b/arch/x86/mm/numa_64.c
index 9f533de..a920d09 100644
--- a/arch/x86/mm/numa_64.c
+++ b/arch/x86/mm/numa_64.c
@@ -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",
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to