diff options
author | Kevin Hilman <khilman@linaro.org> | 2013-03-14 17:13:46 -0700 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2013-03-18 18:03:03 -0300 |
commit | f445f11eb2cc265dd47da5b2e864df46cd6e5a82 (patch) | |
tree | f45e7180794da5bf77914e1df085e4b99d490f39 /arch/x86 | |
parent | 6dbe51c251a327e012439c4772097a13df43c5b8 (diff) |
KVM: allow host header to be included even for !CONFIG_KVM
The new context tracking subsystem unconditionally includes kvm_host.h
headers for the guest enter/exit macros. This causes a compile
failure when KVM is not enabled.
Fix by adding an IS_ENABLED(CONFIG_KVM) check to kvm_host so it can
be included/compiled even when KVM is not enabled.
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions