projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54ecb8f
)
x86/mce/amd: Make disable_err_thresholding() static
author
Borislav Petkov
<bp@suse.de>
Sat, 28 Sep 2019 17:02:29 +0000
(19:02 +0200)
committer
Borislav Petkov
<bp@suse.de>
Tue, 1 Oct 2019 09:42:59 +0000
(11:42 +0200)
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
arch/x86/kernel/cpu/mce/amd.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/cpu/mce/amd.c
b/arch/x86/kernel/cpu/mce/amd.c
index 6ea7fdc82f3c752dd0f34d4dc3700f451765d178..5167bd2bb6b14dae63313d1def4d93ed1eaac38d 100644
(file)
--- 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;