projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31f3dff
)
x86: remove unneeded round_up
author
Yinghai Lu
<Yinghai.Lu@Sun.COM>
Fri, 1 Feb 2008 16:49:42 +0000
(17:49 +0100)
committer
Ingo 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
patch
|
blob
|
history
diff --git
a/arch/x86/mm/numa_64.c
b/arch/x86/mm/numa_64.c
index 9f533deb9dad7f27609cc1bbc0bc570e9d407bb9..a920d09b91948dcf8ea42b6c95f09fbbb07a2145 100644
(file)
--- 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",