diff options
| author | Paolo Bonzini <[email protected]> | 2024-10-01 14:34:58 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2024-10-06 07:55:37 +0000 |
| commit | 2a5fe5a01668e831af1de3951718fbf88b9a9b9c (patch) | |
| tree | 1216f4bbd5403dec3e0b1bc6d59f5e78b3ff9578 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | KVM: x86: leave kvm.ko out of the build if no vendor module is requested (diff) | |
| download | kernel-2a5fe5a01668e831af1de3951718fbf88b9a9b9c.tar.gz kernel-2a5fe5a01668e831af1de3951718fbf88b9a9b9c.zip | |
x86/reboot: emergency callbacks are now registered by common KVM code
Guard them with CONFIG_KVM_X86_COMMON rather than the two vendor modules.
In practice this has no functional change, because CONFIG_KVM_X86_COMMON
is set if and only if at least one vendor-specific module is being built.
However, it is cleaner to specify CONFIG_KVM_X86_COMMON for functions that
are used in kvm.ko.
Reported-by: Linus Torvalds <[email protected]>
Fixes: 590b09b1d88e ("KVM: x86: Register "emergency disable" callbacks when virt is enabled")
Fixes: 6d55a94222db ("x86/reboot: Unconditionally define cpu_emergency_virt_cb typedef")
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
