[PATCH 2/4] MSR: Prep for separating msr.c into three files

Marty McFadden
2016-02-26T00:13:20Z

No functional change (yet). Just updated Makefile to successfully
build msr_entry.c instead of msr.c. This is in preparation for
splitting the MSR kernel module into three separate implementation
files:

1) msr_entry.c - Original msr driver and entry (now)
2) msr_whitelist.c - MSR Whitelist implementation (patch 2)
3) msr_batch.c - MSR Batch implementation (patch 3)

Signed-off-by: Marty McFadden <mcfadden8@llnl.gov>
---
arch/x86/kernel/Makefile | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/x86/kernel/Makefile b/arch/x86/kernel/Makefile
index b1b78ff..7e96dff 100644
--- a/arch/x86/kernel/Makefile
+++ b/arch/x86/kernel/Makefile
@@ -54,6 +54,7 @@ obj-$(CONFIG_STACKTRACE) += stacktrace.o
obj-y += cpu/
obj-y += acpi/
obj-y += reboot.o
+msr-y += msr_entry.o
obj-$(CONFIG_X86_MSR) += msr.o
obj-$(CONFIG_X86_CPUID) += cpuid.o
obj-$(CONFIG_PCI) += early-quirks.o
--
1.7.1