perf/x86/amd/power: Assign pmu.module
authorKim Phillips <kim.phillips@amd.com>
Tue, 17 Aug 2021 22:10:43 +0000 (17:10 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Sep 2021 06:49:01 +0000 (08:49 +0200)
commit61a038f80c8082e6e867525206c06612997b9d91
treea99204f2089fe021344d93695957e31d4223442d
parentec9a82e034f65393999effe206ffb56f2d74f2b4
perf/x86/amd/power: Assign pmu.module

[ Upstream commit ccf26483416a339c114409f6e7cd02abdeaf8052 ]

Assign pmu.module so the driver can't be unloaded whilst in use.

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-4-kim.phillips@amd.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/events/amd/power.c