[MIPS] Fix build error on processors that don's support copy-on-write.

Signed-off-by: Ralf Baechle <[email protected]>
This commit is contained in:
Ralf Baechle 2006-02-28 17:04:20 +00:00
commit 778e2ac597
2 changed files with 19 additions and 1 deletions

View file

@ -63,7 +63,7 @@ void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long maxlen)
return ioport_map(start, len);
if (flags & IORESOURCE_MEM) {
if (flags & IORESOURCE_CACHEABLE)
return ioremap_cacheable_cow(start, len);
return ioremap_cachable(start, len);
return ioremap_nocache(start, len);
}