linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: remove unneeded check of the cache_is_vipt_nonaliasing()
@ 2011-05-12 18:33 Saeed Bishara
  2011-05-12 18:33 ` [PATCH 2/2] ARM: fix the note about dcache lazy flushing for SMP systems Saeed Bishara
  2011-05-15 14:48 ` [PATCH 1/2] ARM: remove unneeded check of the cache_is_vipt_nonaliasing() saeed bishara
  0 siblings, 2 replies; 18+ messages in thread
From: Saeed Bishara @ 2011-05-12 18:33 UTC (permalink / raw)
  To: linux-arm-kernel


Signed-off-by: Saeed Bishara <saeed@marvell.com>
---
 arch/arm/mm/flush.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mm/flush.c b/arch/arm/mm/flush.c
index 2b269c9..f1b7998 100644
--- a/arch/arm/mm/flush.c
+++ b/arch/arm/mm/flush.c
@@ -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
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2011-05-16 15:42 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-12 18:33 [PATCH 1/2] ARM: remove unneeded check of the cache_is_vipt_nonaliasing() Saeed Bishara
2011-05-12 18:33 ` [PATCH 2/2] ARM: fix the note about dcache lazy flushing for SMP systems Saeed Bishara
2011-05-16  7:51   ` saeed bishara
2011-05-16  8:46   ` Catalin Marinas
2011-05-15 14:48 ` [PATCH 1/2] ARM: remove unneeded check of the cache_is_vipt_nonaliasing() saeed bishara
2011-05-15 21:11   ` Catalin Marinas
2011-05-16  7:39     ` saeed bishara
2011-05-16  8:38       ` Catalin Marinas
2011-05-16 10:00         ` saeed bishara
2011-05-16 11:58           ` Catalin Marinas
2011-05-16 12:13             ` Saeed Bishara
2011-05-16 15:42               ` Catalin Marinas
2011-05-16 11:00         ` Russell King - ARM Linux
2011-05-16 11:10           ` Saeed Bishara
2011-05-16 11:11             ` Catalin Marinas
2011-05-16 11:15               ` Saeed Bishara
2011-05-16 13:42                 ` Russell King - ARM Linux
2011-05-16 14:43                   ` saeed bishara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).