[PATCH] boot failures on numa if no memory on node

Joel Schopp jschopp at austin.ibm.com
Sat Dec 10 10:06:00 EST 2005


> 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 type.

There is some irony to misspelling typo.

> 
> Signed-off-by: Mike Kravetz <kravetz at us.ibm.com>
> 
> diff -Naupr linux-2.6.15-rc5-git1/arch/powerpc/mm/numa.c linux-2.6.15-rc5-git1.work/arch/powerpc/mm/numa.c
> --- linux-2.6.15-rc5-git1/arch/powerpc/mm/numa.c	2005-12-04 05:10:42.000000000 +0000
> +++ linux-2.6.15-rc5-git1.work/arch/powerpc/mm/numa.c	2005-12-07 20:49:23.000000000 +0000
> @@ -125,7 +125,7 @@ void __init get_region(unsigned int nid,
>  
>  	/* We didnt find a matching region, return start/end as 0 */
>  	if (*start_pfn == -1UL)
> -		start_pfn = 0;
> +		*start_pfn = 0;

Good catch.  Acked-by: Joel Schopp <jschopp at austin.ibm.com>





More information about the Linuxppc64-dev mailing list