lkml.org 
[lkml]   [2016]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch V2 13/28] x86/perf/intel_uncore: Clear all hardware state on exit
On Mon, Feb 22, 2016 at 11:06:52AM -0000, Thomas Gleixner wrote:
> +static void __init uncore_exit_boxes(void *dummy)
> +{
> + struct intel_uncore_type **types = uncore_msr_uncores;
> +
> + while (*types)
> + __uncore_exit_boxes(*types++, smp_processor_id());

for (types = uncore_msr_uncores; *types; types++)
__uncore_exit_boxes(*types, smp_processor_id());

> +}

You flipped to for() loops in the other places, figures this one should
match?

\
 
 \ /
  Last update: 2016-02-22 13:21    [W:0.143 / U:0.536 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site