Paul Mackerras <[EMAIL PROTECTED]> 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, [EMAIL PROTECTED]
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."
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to