Skip to content
Commit ddd8afac authored by Valentin Schneider's avatar Valentin Schneider Committed by Ingo Molnar
Browse files

x86/kvm: Make kvm_async_pf_enabled __ro_after_init



kvm_async_pf_enabled is only ever enabled in __init kvm_guest_init(), so
mark it as __ro_after_init.

Signed-off-by: default avatarValentin Schneider <vschneid@redhat.com>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Reviewed-by: default avatarSean Christopherson <seanjc@google.com>
Acked-by: default avatarJosh Poimboeuf <jpoimboe@kernel.org>
Link: https://lore.kernel.org/r/20240313180106.2917308-4-vschneid@redhat.com
parent 4eab44a8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment