]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/tile/kernel/smp.c
Merge branch 'stable/for-jens-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git...
[karo-tx-linux.git] / arch / tile / kernel / smp.c
index 91da0f721958da44d91ea08c526228c6c9a015e6..cbc73a8b8fe1e23fd58ce86ae759f525fd3d8ad6 100644 (file)
@@ -203,7 +203,7 @@ void __init ipi_init(void)
                if (hv_get_ipi_pte(tile, KERNEL_PL, &pte) != 0)
                        panic("Failed to initialize IPI for cpu %d\n", cpu);
 
-               offset = hv_pte_get_pfn(pte) << PAGE_SHIFT;
+               offset = PFN_PHYS(pte_pfn(pte));
                ipi_mappings[cpu] = ioremap_prot(offset, PAGE_SIZE, pte);
        }
 #endif