From: Paolo Bonzini Date: Thu, 5 Mar 2015 11:26:06 +0000 (+0100) Subject: KVM: arm/arm64: prefer IS_ENABLED to a static variable X-Git-Tag: omap-for-v4.2/o2_dc~192^2~20^2~25 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69ff5c619cb350f43fbab2a491b4b66de7e96959;p=pandora-kernel.git KVM: arm/arm64: prefer IS_ENABLED to a static variable IS_ENABLED gives compile-time checking and keeps the code clearer. The one exception is inside kvm_vm_ioctl_check_extension, where the established idiom is to wrap the case labels with an #ifdef. Signed-off-by: Christoffer Dall Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed