Merge branches 'consolidate', 'ep93xx', 'fixes', 'misc', 'mmci', 'remove' and 'spear...
[pandora-kernel.git] / arch / arm / mm / flush.c
index b7f6980..1a8d4aa 100644 (file)
@@ -253,8 +253,8 @@ void __sync_icache_dcache(pte_t pteval)
 
        if (!test_and_set_bit(PG_dcache_clean, &page->flags))
                __flush_dcache_page(mapping, page);
-       /* pte_exec() already checked above for non-aliasing VIPT cache */
-       if (cache_is_vipt_nonaliasing() || pte_exec(pteval))
+
+       if (pte_exec(pteval))
                __flush_icache_all();
 }
 #endif