From: Michael Ellerman Date: Wed, 25 Jul 2012 21:19:58 +0000 (+0000) Subject: powerpc/mm: Remove uses of abs_to_virt() and virt_to_abs() X-Git-Tag: v3.7-rc1~108^2~102 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d88dc13a2463cac2a909d6b8570b7d47f88f1b6e;p=platform%2Fkernel%2Flinux-3.10.git powerpc/mm: Remove uses of abs_to_virt() and virt_to_abs() These days they are just __va() and __pa() respectively. Signed-off-by: Michael Ellerman Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/mm/stab.c b/arch/powerpc/mm/stab.c index 9106ebb..3f8efa6 100644 --- a/arch/powerpc/mm/stab.c +++ b/arch/powerpc/mm/stab.c @@ -20,7 +20,6 @@ #include #include #include -#include struct stab_entry { unsigned long esid_data; @@ -257,7 +256,7 @@ void __init stabs_alloc(void) memset((void *)newstab, 0, HW_PAGE_SIZE); paca[cpu].stab_addr = newstab; - paca[cpu].stab_real = virt_to_abs(newstab); + paca[cpu].stab_real = __pa(newstab); printk(KERN_INFO "Segment table for CPU %d at 0x%llx " "virtual, 0x%llx absolute\n", cpu, paca[cpu].stab_addr, paca[cpu].stab_real);