Commit 70267a7f authored by Michael Ellerman's avatar Michael Ellerman Committed by Benjamin Herrenschmidt

powerpc/mm: Replace abs_to_virt() with __va()

abs_to_virt() is just a wrapper around __va(), call __va() directly.
Signed-off-by: default avatarMichael Ellerman <michael@ellerman.id.au>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent aa97c32c
...@@ -43,7 +43,6 @@ ...@@ -43,7 +43,6 @@
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <asm/machdep.h> #include <asm/machdep.h>
#include <asm/prom.h> #include <asm/prom.h>
#include <asm/abs_addr.h>
#include <asm/tlbflush.h> #include <asm/tlbflush.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/eeh.h> #include <asm/eeh.h>
...@@ -651,7 +650,7 @@ static void __init htab_initialize(void) ...@@ -651,7 +650,7 @@ static void __init htab_initialize(void)
DBG("Hash table allocated at %lx, size: %lx\n", table, DBG("Hash table allocated at %lx, size: %lx\n", table,
htab_size_bytes); htab_size_bytes);
htab_address = abs_to_virt(table); htab_address = __va(table);
/* htab absolute addr + encoded htabsize */ /* htab absolute addr + encoded htabsize */
_SDR1 = table + __ilog2(pteg_count) - 11; _SDR1 = table + __ilog2(pteg_count) - 11;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment