2.6.23-rc3 broken on G5
    Paul Mackerras 
    paulus at samba.org
       
    Fri Aug 24 09:33:02 EST 2007
    
    
  
Andreas Schwab writes:
> That didn't change anything visibly.
OK, please try this one and let me know if it fixes it.
Paul.
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 {
    
    
More information about the Linuxppc-dev
mailing list