2.6.23-rc3 broken on G5

Andreas Schwab schwab at suse.de
Tue Aug 28 03:50:41 EST 2007


Paul Mackerras <paulus at samba.org> writes:

> diff --git a/arch/powerpc/mm/slb.c b/arch/powerpc/mm/slb.c
> index a73d2d7..1ca87eb 100644
> --- a/arch/powerpc/mm/slb.c
> +++ b/arch/powerpc/mm/slb.c
> @@ -89,7 +89,7 @@ void slb_flush_and_rebolt(void)
>  	vflags = SLB_VSID_KERNEL | vmalloc_llp;
>  
>  	ksp_esid_data = mk_esid_data(get_paca()->kstack, 2);
> -	if ((ksp_esid_data & ESID_MASK) == PAGE_OFFSET) {
> +	if ((ksp_esid_data & ESID_MASK) <= PAGE_OFFSET) {
>  		ksp_esid_data &= ~SLB_ESID_V;
>  		slb_shadow_clear(2);
>  	} else {
>

Thanks, this looks good.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab at suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Linuxppc-dev mailing list