diff options
| author | 2014-10-02 23:20:12 +0800 | |
|---|---|---|
| committer | 2014-10-21 22:12:56 +0200 | |
| commit | 69b957583580bf40624553c64d802fefb54199cb (patch) | |
| tree | 9ebb3ec22218dd0c9f99712a34340c7ba809cf32 /tools/perf/scripts/python | |
| parent | x86, MCE, AMD: Correct thresholding error logging (diff) | |
| download | wireguard-linux-69b957583580bf40624553c64d802fefb54199cb.tar.xz wireguard-linux-69b957583580bf40624553c64d802fefb54199cb.zip | |
x86, MCE, AMD: Move invariant code out from loop body
Assigning to mce_threshold_vector is loop-invariant code in
mce_amd_feature_init(). So do it only once, out of loop body.
Signed-off-by: Chen Yucong <slaoub@gmail.com>
Link: http://lkml.kernel.org/r/1412263212.8085.6.camel@debian
[ Boris: commit message corrections. ]
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
