Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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)