Files
linux/arch/x86/include/asm
Sean Christopherson 69704ca43e KVM: x86: Tag kvm_mmu_x86_module_init() with __init
commit 982bae43f1 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: 1d0e848060 ("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
2020-01-23 10:41:20 -08:00
2021-03-18 15:31:53 +01:00
2020-05-07 16:06:20 +02:00
2012-03-28 18:11:12 +01:00
2022-07-29 17:25:26 +02:00
2022-07-23 12:53:53 +02:00
2020-10-28 20:26:25 +01:00
2021-03-31 16:20:22 +02:00
2020-11-26 12:58:56 +01:00
2019-04-16 12:26:18 +02:00
2021-03-18 15:31:53 +01:00
2020-11-06 23:14:58 +01:00
2022-04-13 20:59:13 +02:00
2021-05-12 14:54:56 +02:00
2020-09-16 16:52:28 +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
2018-03-20 10:01:57 +01:00
2019-04-10 09:53:31 +02:00
2020-03-21 16:03:25 +01:00
2020-11-17 14:36:13 +01:00
2020-03-23 18:45:14 +01:00
2020-01-14 12:20:58 +01:00