OSDN Git Service

perf/amd/uncore: Allow the driver to be built as a module
authorKim Phillips <kim.phillips@amd.com>
Tue, 17 Aug 2021 22:10:47 +0000 (17:10 -0500)
committerIngo Molnar <mingo@kernel.org>
Thu, 26 Aug 2021 07:14:36 +0000 (09:14 +0200)
commit05485745ad482c1910a45f23a5c255f6a0df0f46
tree67988c1c87f5c382031ab602cad24280a502198f
parent9164d9493a792682143af12b182be12d7c32b195
perf/amd/uncore: Allow the driver to be built as a module

Add support to build the AMD uncore driver as a module.

This is in order to facilitate development without having
to reboot the kernel in most cases.

Signed-off-by: Kim Phillips <kim.phillips@amd.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20210817221048.88063-8-kim.phillips@amd.com
arch/x86/events/Kconfig
arch/x86/events/amd/Makefile
arch/x86/events/amd/uncore.c