diff options
author | Chen Yucong <slaoub@gmail.com> | 2014-10-02 23:20:12 +0800 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2014-10-21 22:12:56 +0200 |
commit | 69b957583580bf40624553c64d802fefb54199cb (patch) | |
tree | 9ebb3ec22218dd0c9f99712a34340c7ba809cf32 /arch/x86/include/asm/mce.h | |
parent | 44612a3ac671d7b9a9b987ab73dcc776204ac4d5 (diff) | |
download | op-kernel-dev-69b957583580bf40624553c64d802fefb54199cb.zip op-kernel-dev-69b957583580bf40624553c64d802fefb54199cb.tar.gz |
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 'arch/x86/include/asm/mce.h')
0 files changed, 0 insertions, 0 deletions