qemu-kvm: fix compiler warning
PATCH 1/1 qemu-kvm: fix compiler warning
kvm-common.h:25:7: warning: "__ia64__" is not defined
Signed-off-by Michael S. Tsirkin <[email protected]>
--- kvm/libkvm/kvm-common.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
kvm/libkvm/kvm-common.h +1 -1
@@ -22,7 +22,7 @@#define KVM_MAX_NUM_MEM_REGIONS 1u#define MAX_VCPUS 64#define LIBKVM_S390_ORIGIN (0UL) -#elif __ia64__ +#elif defined(__ia64__)#define KVM_MAX_NUM_MEM_REGIONS 32u#define MAX_VCPUS 256#else
Signature · 1 line
1.6.0.6
Quoted 2 lines · Michael S. Tsirkin
kvm-common.h:25:7: warning: "
__ia64__" is not defined
Went in by another route.
Signature · 1 line
Do not meddle in the internals of kernels, for they are subtle and quick to panic.