summaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorEduardo Habkost2014-01-30 20:48:53 +0100
committerPaolo Bonzini2014-02-03 17:33:55 +0100
commitc1f412260b4e0f309dba8da99482fb32d6098719 (patch)
treec49ef90b1b4ddb11b901f8edd352d7708d6bf719 /scripts/checkpatch.pl
parentkvm: add support for hyper-v timers (diff)
downloadqemu-c1f412260b4e0f309dba8da99482fb32d6098719.tar.gz
qemu-c1f412260b4e0f309dba8da99482fb32d6098719.tar.xz
qemu-c1f412260b4e0f309dba8da99482fb32d6098719.zip
target-i386: Eliminate CONFIG_KVM #ifdefs
The compiler is already able to eliminate the kvm_arch_get_supported_cpuid() calls in kvm_cpu_fill_host() and filter_features_for_kvm(), so we can eliminate the CONFIG_KVM #ifdefs there. Also, kvm_cpu_fill_host() and host_cpuid() don't need to check CONFIG_KVM, as they don't have any KVM-specific function calls. Tested to build successfully with CONFIG_KVM disabled, using the following CFLAGS combinations: "-DNDEBUG", "-DNDEBUG -O', "-DNDEBUG -O0", "-DNDEBUG -O1", "-DNDEBUG -O2". Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions