summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/intel.c
diff options
context:
space:
mode:
authorDave Hansen <dave.hansen@linux.intel.com>2014-07-31 15:40:54 (GMT)
committerH. Peter Anvin <hpa@linux.intel.com>2014-07-31 15:48:50 (GMT)
commit4995ab9cf512e9a6cc07dfd6b1d4e2fc48ce7fef (patch)
tree467624294215591ad06894e992fabd1d416b3a48 /arch/x86/kernel/cpu/intel.c
parenteff50c347fcc8feeb8c1723c23c89aba67c60263 (diff)
downloadlinux-4995ab9cf512e9a6cc07dfd6b1d4e2fc48ce7fef.tar.xz
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 <dave.hansen@linux.intel.com> Link: http://lkml.kernel.org/r/20140731154054.44F1CDDC@viggo.jf.intel.com Acked-by: Rik van Riel <riel@redhat.com> Acked-by: Mel Gorman <mgorman@suse.de> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/kernel/cpu/intel.c')
0 files changed, 0 insertions, 0 deletions