aboutsummaryrefslogtreecommitdiff
path: root/arch/i386/kernel/cpu/mtrr/Makefile
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2006-12-07 02:14:09 +0100
committerAndi Kleen <andi@basil.nowhere.org>2006-12-07 02:14:09 +0100
commit475850c86b908ae026d5a4be02a1b1e9c408c75a (patch)
treef6db38884b5c3433e612730bbb0fb6dde1e8a7f8 /arch/i386/kernel/cpu/mtrr/Makefile
parent4a1c42275078f48b90428cdb062f5220d79ec9da (diff)
[PATCH] i386: conditionalize inclusion of some MTRR flavors
Avoid inclusion of code that's dead for x86-64. Signed-off-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'arch/i386/kernel/cpu/mtrr/Makefile')
-rw-r--r--arch/i386/kernel/cpu/mtrr/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/i386/kernel/cpu/mtrr/Makefile b/arch/i386/kernel/cpu/mtrr/Makefile
index a25b701ab84..191fc053364 100644
--- a/arch/i386/kernel/cpu/mtrr/Makefile
+++ b/arch/i386/kernel/cpu/mtrr/Makefile
@@ -1,5 +1,3 @@
obj-y := main.o if.o generic.o state.o
-obj-y += amd.o
-obj-y += cyrix.o
-obj-y += centaur.o
+obj-$(CONFIG_X86_32) += amd.o cyrix.o centaur.o