powerpc/mm/hash64: Map all the kernel regions in the same 0xc range
[linux-block.git] / arch / powerpc / kvm / book3s_hv_rm_xics.c
index 3b9662a4207e06125d108a2cd13724dbf665632a..085509148d95fb2b976773056a7ee692c70a1a30 100644 (file)
@@ -822,7 +822,7 @@ static inline void this_cpu_inc_rm(unsigned int __percpu *addr)
        raddr = per_cpu_ptr(addr, cpu);
        l = (unsigned long)raddr;
 
-       if (REGION_ID(l) == VMALLOC_REGION_ID) {
+       if (get_region_id(l) == VMALLOC_REGION_ID) {
                l = vmalloc_to_phys(raddr);
                raddr = (unsigned int *)l;
        }