From: Dave Hansen Date: Thu, 31 Jul 2014 15:40:54 +0000 (-0700) Subject: x86/mm: Clean up the TLB flushing code X-Git-Tag: omap-for-v3.17/fixes-against-rc2~173^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4995ab9cf512e9a6cc07dfd6b1d4e2fc48ce7fef;p=pandora-kernel.git x86/mm: Clean up the TLB flushing code The if (cpumask_any_but(mm_cpumask(mm), smp_processor_id()) < nr_cpu_ids) line of code is not exactly the easiest to audit, especially when it ends up at two different indentation levels. This eliminates one of the the copy-n-paste versions. It also gives us a unified exit point for each path through this function. We need this in a minute for our tracepoint. Signed-off-by: Dave Hansen Link: http://lkml.kernel.org/r/20140731154054.44F1CDDC@viggo.jf.intel.com Acked-by: Rik van Riel Acked-by: Mel Gorman Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed