mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[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:
parent
4debe4f963
commit
778e2ac597
2 changed files with 19 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue