mirror of
https://github.com/torvalds/linux.git
synced 2026-11-23 23:11:40 +00:00
By default, the uncore driver will be built into the kernel. If it is configured as a module, the supported CPU model can be auto loaded. This patch also cleans up the code of uncore_cpu_init() and uncore_pci_init(). Based-on-a-patch-by: Thomas Gleixner <[email protected]> Signed-off-by: Kan Liang <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Thomas Gleixner <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Vince Weaver <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
12 lines
358 B
Makefile
12 lines
358 B
Makefile
obj-y += core.o
|
|
|
|
obj-$(CONFIG_CPU_SUP_AMD) += amd/core.o amd/uncore.o
|
|
obj-$(CONFIG_PERF_EVENTS_AMD_POWER) += amd/power.o
|
|
obj-$(CONFIG_X86_LOCAL_APIC) += amd/ibs.o msr.o
|
|
ifdef CONFIG_AMD_IOMMU
|
|
obj-$(CONFIG_CPU_SUP_AMD) += amd/iommu.o
|
|
endif
|
|
|
|
obj-$(CONFIG_CPU_SUP_INTEL) += msr.o
|
|
obj-$(CONFIG_CPU_SUP_INTEL) += intel/
|