From: Michael Ellerman Date: Wed, 25 Jul 2012 21:19:50 +0000 (+0000) Subject: powerpc/mm: Replace abs_to_virt() with __va() X-Git-Tag: v3.7-rc1~108^2~110 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=70267a7f47a5565519da5ca2dde35d3ebf7d6ffb;p=platform%2Fkernel%2Flinux-stable.git powerpc/mm: Replace abs_to_virt() with __va() abs_to_virt() is just a wrapper around __va(), call __va() directly. Signed-off-by: Michael Ellerman Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/mm/hash_utils_64.c b/arch/powerpc/mm/hash_utils_64.c index 377e5cb..ba45739b 100644 --- a/arch/powerpc/mm/hash_utils_64.c +++ b/arch/powerpc/mm/hash_utils_64.c @@ -43,7 +43,6 @@ #include #include #include -#include #include #include #include @@ -651,7 +650,7 @@ static void __init htab_initialize(void) DBG("Hash table allocated at %lx, size: %lx\n", table, htab_size_bytes); - htab_address = abs_to_virt(table); + htab_address = __va(table); /* htab absolute addr + encoded htabsize */ _SDR1 = table + __ilog2(pteg_count) - 11;