summaryrefslogtreecommitdiffstats
path: root/arch/mips/mm/ioremap.c
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 /arch/mips/mm/ioremap.c
parent4666aac4037d19a0cf60daecfa558b2b62237b76 (diff)
Ioremap makes cachable mappings again.
Diffstat (limited to 'arch/mips/mm/ioremap.c')
-rw-r--r--arch/mips/mm/ioremap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/mm/ioremap.c b/arch/mips/mm/ioremap.c
index 97bb6a734..12a83c24e 100644
--- a/arch/mips/mm/ioremap.c
+++ b/arch/mips/mm/ioremap.c
@@ -109,11 +109,11 @@ static int remap_area_pages(unsigned long address, unsigned long phys_addr,
#define IS_LOW512(addr) (!((unsigned long)(addr) & ~0x1fffffffUL))
-void * __ioremap(unsigned long phys_addr, unsigned long size)
+void * __ioremap(unsigned long phys_addr, unsigned long size, unsigned long flags)
{
void * addr;
struct vm_struct * area;
- unsigned long offset, last_addr, flags = _CACHE_UNCACHED;
+ unsigned long offset, last_addr;
/* Don't allow wraparound or zero size */
last_addr = phys_addr + size - 1;