diff options
author | Sean Christopherson <[email protected]> | 2020-03-21 13:26:01 -0700 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2020-03-31 10:48:09 -0400 |
commit | 6e4fd06f3ee1b12ca42fc70522f371bf10977745 (patch) | |
tree | 1b42b4a4a0121c8c088c3587514ce897aae77eb0 /scripts/gcc-plugins/randomize_layout_plugin.c | |
parent | afaf0b2f9b801c6eb2278b52d49e6a7d7b659cf1 (diff) |
KVM: x86: Drop __exit from kvm_x86_ops' hardware_unsetup()
Remove the __exit annotation from VMX hardware_unsetup(), the hook
can be reached during kvm_init() by way of kvm_arch_hardware_unsetup()
if failure occurs at various points during initialization.
Removing the annotation also lets us annotate vmx_x86_ops and svm_x86_ops
with __initdata; otherwise, objtool complains because it doesn't
understand that the vendor specific __initdata is being copied by value
to a non-__initdata instance.
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Vitaly Kuznetsov <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions