提交 47cd84e9 编写于 作者: B Borislav Petkov

x86/mce/amd: Make disable_err_thresholding() static

No functional changes.
Signed-off-by: NBorislav Petkov <bp@suse.de>
Cc: x86@kernel.org
Link: https://lkml.kernel.org/r/20190928170539.2729-1-bp@alien8.de
上级 54ecb8f7
...@@ -583,7 +583,7 @@ bool amd_filter_mce(struct mce *m) ...@@ -583,7 +583,7 @@ bool amd_filter_mce(struct mce *m)
* - Prevent possible spurious interrupts from the IF bank on Family 0x17 * - Prevent possible spurious interrupts from the IF bank on Family 0x17
* Models 0x10-0x2F due to Erratum #1114. * Models 0x10-0x2F due to Erratum #1114.
*/ */
void disable_err_thresholding(struct cpuinfo_x86 *c, unsigned int bank) static void disable_err_thresholding(struct cpuinfo_x86 *c, unsigned int bank)
{ {
int i, num_msrs; int i, num_msrs;
u64 hwcr; u64 hwcr;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册