summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/mtrr/Makefile
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2018-05-10 08:45:31 -0700
committerThomas Gleixner <tglx@linutronix.de>2018-05-13 21:25:18 +0200
commite6d8c84a58380030457759ad6085f3792a76b2ce (patch)
treeb4903416456c3a8dcfc1625aeddea14eec81a72e /arch/x86/kernel/cpu/mtrr/Makefile
parent1de392f5d5e803663abbd8ed084233f154152bcd (diff)
x86/mtrr: Rename main.c to mtrr.c and remove duplicate prefixes
Kbuild uses the first file as the name for KBUILD_MODNAME. mtrr uses main.c as its first file, so rename that file to mtrr.c and fixup the Makefile. Remove the now duplicate "mtrr: " prefixes from the logging calls. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: "H. Peter Anvin" <hpa@zytor.com> Link: https://lkml.kernel.org/r/ae1fa81a0d1fad87571967b91ea90f70f486e853.1525964384.git.joe@perches.com
Diffstat (limited to 'arch/x86/kernel/cpu/mtrr/Makefile')
-rw-r--r--arch/x86/kernel/cpu/mtrr/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/mtrr/Makefile b/arch/x86/kernel/cpu/mtrr/Makefile
index ad9e5ed81181..2ad9107ee980 100644
--- a/arch/x86/kernel/cpu/mtrr/Makefile
+++ b/arch/x86/kernel/cpu/mtrr/Makefile
@@ -1,3 +1,3 @@
-obj-y := main.o if.o generic.o cleanup.o
+obj-y := mtrr.o if.o generic.o cleanup.o
obj-$(CONFIG_X86_32) += amd.o cyrix.o centaur.o