From: Russell King Date: Sat, 2 Jul 2011 14:20:44 +0000 (+0100) Subject: ARM: pgtable: consolidate set_pte_ext(TOP_PTE,...) + tlb flush X-Git-Tag: v3.4-rc1~36^2~1^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67ece1443174d852e71c42facb3e2d7dd338c88a;p=pandora-kernel.git ARM: pgtable: consolidate set_pte_ext(TOP_PTE,...) + tlb flush A number of places establish a PTE in our top page table and immediately flush the TLB. Rather than having this at every callsite, provide an inline function for this purpose. This changes some global tlb flushes to be local; each time we setup one of these mappings, we always do it with preemption disabled which would prevent us migrating to another CPU. Reviewed-by: Catalin Marinas Signed-off-by: Russell King --- Reading git-diff-tree failed