diff options
author | Borislav Petkov <bp@suse.de> | 2019-09-28 19:02:29 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2019-10-01 11:42:59 +0200 |
commit | 47cd84e98f512eac5aad988f08baff432aea35ba (patch) | |
tree | 9c99d797a267dfb9fb5fe5aea5618bd706ef3e3f /arch/x86/kernel/cpu | |
parent | 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c (diff) | |
download | linux-47cd84e98f512eac5aad988f08baff432aea35ba.tar.bz2 |
x86/mce/amd: Make disable_err_thresholding() static
No functional changes.
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: x86@kernel.org
Link: https://lkml.kernel.org/r/20190928170539.2729-1-bp@alien8.de
Diffstat (limited to 'arch/x86/kernel/cpu')
-rw-r--r-- | arch/x86/kernel/cpu/mce/amd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/mce/amd.c b/arch/x86/kernel/cpu/mce/amd.c index 6ea7fdc82f3c..5167bd2bb6b1 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; |