summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/io.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-06-06 23:46:17 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-06-06 23:46:17 +0000
commit624609963e5e2220bc78e45c90ec88598468e7ec (patch)
tree12f14f4d0ae7eedec1566b65cdbe986b0a613db6 /include/asm-mips/io.h
parent4666aac4037d19a0cf60daecfa558b2b62237b76 (diff)
Ioremap makes cachable mappings again.
Diffstat (limited to 'include/asm-mips/io.h')
-rw-r--r--include/asm-mips/io.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-mips/io.h b/include/asm-mips/io.h
index f89b4c754..6b308276b 100644
--- a/include/asm-mips/io.h
+++ b/include/asm-mips/io.h
@@ -130,16 +130,16 @@ extern inline void * bus_to_virt(unsigned long address)
*/
extern unsigned long isa_slot_offset;
-extern void * __ioremap(unsigned long offset, unsigned long size);
+extern void * __ioremap(unsigned long offset, unsigned long size, unsigned long flags);
extern inline void *ioremap(unsigned long offset, unsigned long size)
{
- return __ioremap(offset, size);
+ return __ioremap(offset, size, _CACHE_UNCACHED);
}
extern inline void *ioremap_nocache(unsigned long offset, unsigned long size)
{
- return __ioremap(offset, size);
+ return __ioremap(offset, size, _CACHE_UNCACHED);
}
extern void iounmap(void *addr);