Files
kernel_arpi/arch/x86/include/asm
Sean Christopherson 69704ca43e KVM: x86: Tag kvm_mmu_x86_module_init() with __init
commit 982bae43f11c37b51d2f1961bb25ef7cac3746fa upstream.

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>
Message-Id: <20220803224957.1285926-2-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-08-17 14:22:49 +02:00
..
2021-03-18 15:31:53 +01:00
2022-07-23 12:53:58 +02:00
2021-03-18 15:31:53 +01:00
2022-07-29 17:25:26 +02:00
2022-07-23 12:53:53 +02:00
2021-03-31 16:20:22 +02:00
2020-11-26 12:58:56 +01:00
2021-03-18 15:31:53 +01:00
2022-04-13 20:59:13 +02:00
2021-05-12 14:54:56 +02:00
2022-07-29 17:25:26 +02:00
2021-06-22 13:56:43 +02:00
2021-07-01 11:06:03 -07:00
2021-03-15 10:49:00 +01:00
2021-05-12 20:00:51 +02:00
2020-11-17 14:36:13 +01:00