aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/Makefile
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-12-03 04:39:53 -0500
committerIngo Molnar <mingo@elte.hu>2008-12-08 09:47:15 -0500
commit241771ef016b5c0c83cd7a4372a74321c973c1e6 (patch)
tree5893d72f1721af34daee82f27449bd35c9f65363 /arch/x86/kernel/cpu/Makefile
parente7bc62b6b3aeaa8849f8383e0cfb7ca6c003adc6 (diff)
performance counters: x86 support
Implement performance counters for x86 Intel CPUs. It's simplified right now: the PERFMON CPU feature is assumed, which is available in Core2 and later Intel CPUs. The design is flexible to be extended to more CPU types as well. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/cpu/Makefile')
-rw-r--r--arch/x86/kernel/cpu/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/arch/x86/kernel/cpu/Makefile b/arch/x86/kernel/cpu/Makefile
index 82ec6075c057..89e53361fe24 100644
--- a/arch/x86/kernel/cpu/Makefile
+++ b/arch/x86/kernel/cpu/Makefile
@@ -1,5 +1,5 @@
1# 1#
2# Makefile for x86-compatible CPU details and quirks 2# Makefile for x86-compatible CPU details, features and quirks
3# 3#
4 4
5obj-y := intel_cacheinfo.o addon_cpuid_features.o 5obj-y := intel_cacheinfo.o addon_cpuid_features.o
@@ -16,11 +16,13 @@ obj-$(CONFIG_CPU_SUP_CENTAUR_64) += centaur_64.o
16obj-$(CONFIG_CPU_SUP_TRANSMETA_32) += transmeta.o 16obj-$(CONFIG_CPU_SUP_TRANSMETA_32) += transmeta.o
17obj-$(CONFIG_CPU_SUP_UMC_32) += umc.o 17obj-$(CONFIG_CPU_SUP_UMC_32) += umc.o
18 18
19obj-$(CONFIG_X86_MCE) += mcheck/ 19obj-$(CONFIG_PERF_COUNTERS) += perf_counter.o
20obj-$(CONFIG_MTRR) += mtrr/
21obj-$(CONFIG_CPU_FREQ) += cpufreq/
22 20
23obj-$(CONFIG_X86_LOCAL_APIC) += perfctr-watchdog.o 21obj-$(CONFIG_X86_MCE) += mcheck/
22obj-$(CONFIG_MTRR) += mtrr/
23obj-$(CONFIG_CPU_FREQ) += cpufreq/
24
25obj-$(CONFIG_X86_LOCAL_APIC) += perfctr-watchdog.o
24 26
25quiet_cmd_mkcapflags = MKCAP $@ 27quiet_cmd_mkcapflags = MKCAP $@
26 cmd_mkcapflags = $(PERL) $(srctree)/$(src)/mkcapflags.pl $< $@ 28 cmd_mkcapflags = $(PERL) $(srctree)/$(src)/mkcapflags.pl $< $@