Skip to content
Snippets Groups Projects
Commit 6d91bb93 authored by Mike Kravetz's avatar Mike Kravetz Committed by Paul Mackerras
Browse files

[PATCH] powerpc/pseries: boot failures on numa if no memory on node


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: default avatarMike Kravetz <kravetz@us.ibm.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent ca507eaf
No related branches found
No related tags found
No related merge requests found
...@@ -125,7 +125,7 @@ void __init get_region(unsigned int nid, unsigned long *start_pfn, ...@@ -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 */ /* We didnt find a matching region, return start/end as 0 */
if (*start_pfn == -1UL) if (*start_pfn == -1UL)
start_pfn = 0; *start_pfn = 0;
} }
static inline void map_cpu_to_node(int cpu, int node) static inline void map_cpu_to_node(int cpu, int node)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment