mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 19:13:18 +07:00
e633c65a1d
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 <tglx@linutronix.de> Signed-off-by: Kan Liang <kan.liang@intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Vince Weaver <vincent.weaver@maine.edu> Link: http://lkml.kernel.org/r/1458462817-2475-1-git-send-email-kan.liang@intel.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
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/
|