diff options
| author | Sean Christopherson <seanjc@google.com> | 2022-08-03 22:49:55 +0000 |
|---|---|---|
| committer | Michael Roth <michael.roth@amd.com> | 2022-08-05 18:11:56 -0500 |
| commit | fb8600e126f56ca38ff1c0c41dd2dd257749d583 (patch) | |
| tree | 06f290cdf4664d648c28139a232e8d9d389c4cd6 /tools/perf/scripts/python | |
| parent | a7065246cf78249e8be1b6f8340c68fc797770b7 (diff) | |
| download | cachepc-linux-fb8600e126f56ca38ff1c0c41dd2dd257749d583.tar.gz cachepc-linux-fb8600e126f56ca38ff1c0c41dd2dd257749d583.zip | |
KVM: x86: Tag kvm_mmu_x86_module_init() with __init
Mark kvm_mmu_x86_module_init() with __init, the entire reason it exists
is to initialize variables when kvm.ko is loaded, i.e. it must never be
called after module initialization.
Fixes: 1d0e84806047 ("KVM: x86/mmu: Resolve nx_huge_pages when kvm.ko is loaded")
Cc: stable@vger.kernel.org
Reviewed-by: Kai Huang <kai.huang@intel.com>
Tested-by: Michael Roth <michael.roth@amd.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Michael Roth <michael.roth@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
