]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/lguest/lguest_device.c
lguest: use ioremap_cache, not ioremap
[linux-2.6-omap-h63xx.git] / drivers / lguest / lguest_device.c
index 8080249957afb6d747631674d32cdc287319f96c..f4fdf351a7c7fde68e945af79e77ec434ed678b5 100644 (file)
@@ -27,7 +27,7 @@ static unsigned int dev_index;
  * __iomem to quieten sparse. */
 static inline void *lguest_map(unsigned long phys_addr, unsigned long pages)
 {
-       return (__force void *)ioremap(phys_addr, PAGE_SIZE*pages);
+       return (__force void *)ioremap_cache(phys_addr, PAGE_SIZE*pages);
 }
 
 static inline void lguest_unmap(void *addr)