powerpc/ps3: Rework htab code to remove ioremap
authorMasakazu Mokuno <mokuno@sm.sony.co.jp>
Wed, 20 Aug 2008 20:18:51 +0000 (06:18 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 26 Aug 2008 00:24:46 +0000 (10:24 +1000)
commit9cfeb74e93cf3549b7fa67ffe407192da625c777
treec8c474f16fb24ba2607a54bbf38329843c20353d
parent98fded0728d6d65b78a7fe7d205e947ee81bb9b5
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>
arch/powerpc/platforms/ps3/htab.c
arch/powerpc/platforms/ps3/setup.c