[tip: ras/core] x86/mce/amd: Make disable_err_thresholding() static

From: tip-bot2 for Borislav Petkov
Date: Tue Oct 01 2019 - 05:52:30 EST


The following commit has been merged into the ras/core branch of tip:

Commit-ID: 47cd84e98f512eac5aad988f08baff432aea35ba
Gitweb: https://git.kernel.org/tip/47cd84e98f512eac5aad988f08baff432aea35ba
Author: Borislav Petkov <bp@xxxxxxx>
AuthorDate: Sat, 28 Sep 2019 19:02:29 +02:00
Committer: Borislav Petkov <bp@xxxxxxx>
CommitterDate: Tue, 01 Oct 2019 11:42:59 +02:00

x86/mce/amd: Make disable_err_thresholding() static

No functional changes.

Signed-off-by: Borislav Petkov <bp@xxxxxxx>
Cc: x86@xxxxxxxxxx
Link: https://lkml.kernel.org/r/20190928170539.2729-1-bp@xxxxxxxxx
---
arch/x86/kernel/cpu/mce/amd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/cpu/mce/amd.c b/arch/x86/kernel/cpu/mce/amd.c
index 6ea7fdc..5167bd2 100644
--- a/arch/x86/kernel/cpu/mce/amd.c
+++ b/arch/x86/kernel/cpu/mce/amd.c
@@ -583,7 +583,7 @@ bool amd_filter_mce(struct mce *m)
* - Prevent possible spurious interrupts from the IF bank on Family 0x17
* 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;
u64 hwcr;