From: Catalin Marinas Date: Mon, 13 Sep 2010 14:58:37 +0000 (+0100) Subject: ARM: 6381/1: Use lazy cache flushing on ARMv7 SMP systems X-Git-Tag: v2.6.37-rc1~184^2~7^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85848dd7ab75fce1134856228582a8df522c91d9;p=pandora-kernel.git ARM: 6381/1: Use lazy cache flushing on ARMv7 SMP systems ARMv7 processors like Cortex-A9 broadcast the cache maintenance operations in hardware. This patch allows the flush_dcache_page/update_mmu_cache pair to work in lazy flushing mode similar to the UP case. Note that cache flushing on SMP systems now takes place via the set_pte_at() call (__sync_icache_dcache) and there is no race with other CPUs executing code from the new PTE before the cache flushing took place. Tested-by: Rabin Vincent Cc: Nicolas Pitre Signed-off-by: Catalin Marinas Signed-off-by: Russell King --- Reading git-diff-tree failed