diff options
author | Sean Christopherson <[email protected]> | 2022-08-03 22:49:55 +0000 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2022-08-10 15:08:24 -0400 |
commit | 982bae43f11c37b51d2f1961bb25ef7cac3746fa (patch) | |
tree | 85dc7ef4b22322b91c1ab4569d5a04d45c78e9cf /tools/rcu/rcu-cbs.py | |
parent | 4ac5b4237793a6db791999edd53f0396c04053cd (diff) |
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: [email protected]
Reviewed-by: Kai Huang <[email protected]>
Tested-by: Michael Roth <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/rcu/rcu-cbs.py')
0 files changed, 0 insertions, 0 deletions