Commit 47cd84e9 authored by Borislav Petkov's avatar Borislav Petkov

x86/mce/amd: Make disable_err_thresholding() static

No functional changes.
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Cc: x86@kernel.org
Link: https://lkml.kernel.org/r/20190928170539.2729-1-bp@alien8.de
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment