OSDN Git Service

x86/mce: Restore MCE injector's module name
authorBorislav Petkov <bp@suse.de>
Tue, 18 Dec 2018 18:25:46 +0000 (19:25 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 18 Dec 2018 23:04:36 +0000 (00:04 +0100)
It was mce-inject.ko but it turned into inject.ko since the containing
source file got renamed. Restore it.

Fixes: 21afaf181362 ("x86/mce: Streamline MCE subsystem's naming")
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: Tony Luck <tony.luck@intel.com>
Link: https://lkml.kernel.org/r/20181218182546.GA21386@zn.tnic
arch/x86/kernel/cpu/mce/Makefile

index 7657597..9f020c9 100644 (file)
@@ -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