[POWERPC] PS3: Map SPU regions as non-guarded
Use ioremap_flags() to map SPU regions as non-guarded. Change the use of _ioremap() to ioremap_flags(). CC: Arnd Bergmann <arnd.bergmann@de.ibm.com> CC: Masato Noguchi <Masato.Noguchi@jp.sony.com> CC: Takao Shinohara <shin@sm.sony.co.jp> Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
committed by
Paul Mackerras
parent
1322810c14
commit
53f7c5453d
@@ -273,7 +273,7 @@ void __init ps3_map_htab(void)
|
||||
|
||||
result = lv1_map_htab(0, &htab_addr);
|
||||
|
||||
htab = (struct hash_pte *)__ioremap(htab_addr, htab_size,
|
||||
htab = (__force struct hash_pte *)ioremap_flags(htab_addr, htab_size,
|
||||
pgprot_val(PAGE_READONLY_X));
|
||||
|
||||
DBG("%s:%d: lpar %016lxh, virt %016lxh\n", __func__, __LINE__,
|
||||
|
Reference in New Issue
Block a user