Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 2868
b: refs/heads/master
c: 74b30be
h: refs/heads/master
v: v3
  • Loading branch information
Andy Whitcroft authored and Linus Torvalds committed Jun 23, 2005
1 parent 062f67c commit d7dfd6b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 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: 510f8fa7ba18320d408dd3093663e58f5664f2f0
refs/heads/master: 74b30be2e183bd9a12d0350698996e3d1969f290
4 changes: 2 additions & 2 deletions trunk/arch/ppc64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ config ARCH_FLATMEM_ENABLE
source "mm/Kconfig"

config HAVE_ARCH_EARLY_PFN_TO_NID
bool
default y
def_bool y
depends on NEED_MULTIPLE_NODES

# Some NUMA nodes have memory ranges that span
# other nodes. Even though a pfn is valid and
Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/ppc64/mm/numa.c
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,8 @@ static int __init parse_numa_properties(void)
for (i = start ; i < (start+size); i += MEMORY_INCREMENT)
numa_memory_lookup_table[i >> MEMORY_INCREMENT_SHIFT] =
numa_domain;
memory_present(numa_domain, start >> PAGE_SHIFT,
(start + size) >> PAGE_SHIFT);

if (--ranges)
goto new_range;
Expand Down Expand Up @@ -481,6 +483,7 @@ static void __init setup_nonnuma(void)

for (i = 0 ; i < top_of_ram; i += MEMORY_INCREMENT)
numa_memory_lookup_table[i >> MEMORY_INCREMENT_SHIFT] = 0;
memory_present(0, 0, init_node_data[0].node_end_pfn);
}

static void __init dump_numa_topology(void)
Expand Down

0 comments on commit d7dfd6b

Please sign in to comment.