From ed57d0d57edff6538c4575fc4f2ce9c4dd5a28f5 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Mon, 15 Oct 2007 12:55:20 -0700 Subject: [PATCH] --- yaml --- r: 69305 b: refs/heads/master c: 355aaffdaf82c95a004daedd1ea64fc61a25b8db h: refs/heads/master i: 69303: 0ebbb3868cb4dc64fe10f9f94e35527cb40ceaa6 v: v3 --- [refs] | 2 +- trunk/drivers/mtd/maps/pxa2xx-flash.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index bcb324dde59a..2d0b7e3db48f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c596cc46ba1c5769866efe586daff3422bc31afe +refs/heads/master: 355aaffdaf82c95a004daedd1ea64fc61a25b8db diff --git a/trunk/drivers/mtd/maps/pxa2xx-flash.c b/trunk/drivers/mtd/maps/pxa2xx-flash.c index cb933ac475d5..82113295c266 100644 --- a/trunk/drivers/mtd/maps/pxa2xx-flash.c +++ b/trunk/drivers/mtd/maps/pxa2xx-flash.c @@ -14,20 +14,20 @@ #include #include #include -#include #include #include #include #include #include +#include #include static void pxa2xx_map_inval_cache(struct map_info *map, unsigned long from, ssize_t len) { - consistent_sync((char *)map->cached + from, len, DMA_FROM_DEVICE); + flush_ioremap_region(map->phys, map->cached, from, len); } struct pxa2xx_flash_info {