powerpc/mm/hash64: Map all the kernel regions in the same 0xc range
[linux-2.6-block.git] / drivers / misc / ocxl / link.c
index d50b861d7e57b9bc14c6a9d3a533244124e0a026..04ec3d74f828c03f22f5458f38630bbe3dcefe02 100644 (file)
@@ -163,7 +163,7 @@ static void xsl_fault_handler_bh(struct work_struct *fault_work)
                if (fault->dsisr & SPA_XSL_S)
                        access |= _PAGE_WRITE;
 
-               if (REGION_ID(fault->dar) != USER_REGION_ID)
+               if (get_region_id(fault->dar) != USER_REGION_ID)
                        access |= _PAGE_PRIVILEGED;
 
                local_irq_save(flags);