Skip to content

Commit

Permalink
[PATCH] powerpc/pseries: boot failures on numa if no memory on node
Browse files Browse the repository at this point in the history
This bug exists in the current code and prevents machines from booting
with numa enabled if there is a node that does not contain memory.
Workaround is to boot with 'numa=off'.  Looks like a simple typo.

Signed-off-by: Mike Kravetz <kravetz@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Mike Kravetz authored and Paul Mackerras committed Dec 8, 2005
1 parent ca507ea commit 6d91bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/mm/numa.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ void __init get_region(unsigned int nid, unsigned long *start_pfn,

/* We didnt find a matching region, return start/end as 0 */
if (*start_pfn == -1UL)
start_pfn = 0;
*start_pfn = 0;
}

static inline void map_cpu_to_node(int cpu, int node)
Expand Down

0 comments on commit 6d91bb9

Please sign in to comment.