summaryrefslogtreecommitdiff
path: root/arch/xtensa/boot/lib
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-03-05 11:26:06 (GMT)
committerChristoffer Dall <christoffer.dall@linaro.org>2015-03-11 14:27:55 (GMT)
commit69ff5c619cb350f43fbab2a491b4b66de7e96959 (patch)
treeecd6f15b868c9844e1b75656b0f601f4304ad98d /arch/xtensa/boot/lib
parent0f37247574b3ef5b130116bbf7c0f9eb8a4c78c2 (diff)
downloadlinux-69ff5c619cb350f43fbab2a491b4b66de7e96959.tar.xz
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 <christoffer.dall@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/xtensa/boot/lib')
0 files changed, 0 insertions, 0 deletions