Patchwork x86/mce: Restore MCE injector's module name

login
register
mail settings
Submitter Borislav Petkov
Date Dec. 18, 2018, 6:25 p.m.
Message ID <20181218182546.GA21386@zn.tnic>
Download mbox | patch
Permalink /patch/685489/
State New
Headers show

Comments

Borislav Petkov - Dec. 18, 2018, 6:25 p.m.
Aaand one more fix ontop... Yeah, renames are nasty. :-\

---
From: Borislav Petkov <bp@suse.de>

It was mce-inject.ko but it turned into inject.ko since the containing
source file got renamed. Restore it.

Cc: Tony Luck <tony.luck@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
---
 arch/x86/kernel/cpu/mce/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Patch

diff --git a/arch/x86/kernel/cpu/mce/Makefile b/arch/x86/kernel/cpu/mce/Makefile
index 765759765ab7..9f020c994154 100644
--- a/arch/x86/kernel/cpu/mce/Makefile
+++ b/arch/x86/kernel/cpu/mce/Makefile
@@ -5,7 +5,9 @@  obj-$(CONFIG_X86_ANCIENT_MCE)	+= winchip.o p5.o
 obj-$(CONFIG_X86_MCE_INTEL)	+= intel.o
 obj-$(CONFIG_X86_MCE_AMD)	+= amd.o
 obj-$(CONFIG_X86_MCE_THRESHOLD) += threshold.o
-obj-$(CONFIG_X86_MCE_INJECT)	+= inject.o
+
+mce-inject-y			:= inject.o
+obj-$(CONFIG_X86_MCE_INJECT)	+= mce-inject.o
 
 obj-$(CONFIG_X86_THERMAL_VECTOR) += therm_throt.o