diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-05-25 17:36:17 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-06-14 18:53:14 +0200 |
commit | 1f008e114b1ba17e1d73e61149070c502174bb89 (patch) | |
tree | a241350247168c8a84f72bf352da3988a4143fd6 /arch/s390 | |
parent | 09027ab73b82ec773f6ab8ae9468d7e15b748dfa (diff) | |
download | blackbird-op-linux-1f008e114b1ba17e1d73e61149070c502174bb89.tar.gz blackbird-op-linux-1f008e114b1ba17e1d73e61149070c502174bb89.zip |
KVM: x86: VMX: redo fix for link error without CONFIG_HYPERV
Arnd had sent this patch to the KVM mailing list, but it slipped through
the cracks of maintainers hand-off, and therefore wasn't included in
the pull request.
The same issue had been fixed by Linus in commit dbee3d0 ("KVM: x86:
VMX: fix build without hyper-v", 2018-06-12) as a self-described
"quick-and-hacky build fix". However, checking the compile-time
configuration symbol with IS_ENABLED is cleaner and it is enough to
avoid the link error, so switch to Arnd's solution.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
[Rewritten commit message. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions