Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 82018
b: refs/heads/master
c: 9347e0b
h: refs/heads/master
v: v3
  • Loading branch information
Yinghai Lu authored and Ingo Molnar committed Feb 1, 2008
1 parent 5d1052d commit b71996d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 31f3dff6c536e33f97c8f5049e1dd0a392933265
refs/heads/master: 9347e0b0ce6255f4abef462d373577e7c8362fc6
5 changes: 2 additions & 3 deletions trunk/arch/x86/mm/numa_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit b71996d

Please sign in to comment.