summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/ps3/setup.c
diff options
context:
space:
mode:
authorMasakazu Mokuno <mokuno@sm.sony.co.jp>2008-08-21 06:18:51 +1000
committerPaul Mackerras <paulus@samba.org>2008-08-26 10:24:46 +1000
commit9cfeb74e93cf3549b7fa67ffe407192da625c777 (patch)
treec8c474f16fb24ba2607a54bbf38329843c20353d /arch/powerpc/platforms/ps3/setup.c
parent98fded0728d6d65b78a7fe7d205e947ee81bb9b5 (diff)
downloadlinux-9cfeb74e93cf3549b7fa67ffe407192da625c777.tar.gz
linux-9cfeb74e93cf3549b7fa67ffe407192da625c777.tar.bz2
linux-9cfeb74e93cf3549b7fa67ffe407192da625c777.zip
powerpc/ps3: Rework htab code to remove ioremap
Rework the PS3 MMU hash table code to remove the need to ioremap the hash table by using the HV calls lv1_insert_htab_entry() and lv1_read_htab_entries(). This fixes a runtime failure on the PS3 introduced by the powerpc ioremap_prot rework of commit a1f242ff460e4b50a045fa237c3c56cce9eabf83 ("powerpc ioremap_prot"). Signed-off-by: Masakazu Mokuno <mokuno@sm.sony.co.jp> CC: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/ps3/setup.c')
-rw-r--r--arch/powerpc/platforms/ps3/setup.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/ps3/setup.c b/arch/powerpc/platforms/ps3/setup.c
index a413abbd4123..77bc330263c4 100644
--- a/arch/powerpc/platforms/ps3/setup.c
+++ b/arch/powerpc/platforms/ps3/setup.c
@@ -201,7 +201,6 @@ static void __init ps3_setup_arch(void)
ps3_firmware_version.rev);
ps3_spu_set_platform();
- ps3_map_htab();
#ifdef CONFIG_SMP
smp_init_ps3();