All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] qemu-kvm: fix compiler warning
@ 2009-04-27  8:07 Michael S. Tsirkin
  2009-05-04 10:07 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Michael S. Tsirkin @ 2009-04-27  8:07 UTC (permalink / raw)
  To: avi; +Cc: kvm

kvm-common.h:25:7: warning: "__ia64__" is not defined

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 kvm/libkvm/kvm-common.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kvm/libkvm/kvm-common.h b/kvm/libkvm/kvm-common.h
index 96361e8..591fb53 100644
--- a/kvm/libkvm/kvm-common.h
+++ b/kvm/libkvm/kvm-common.h
@@ -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
-- 
1.6.0.6


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] qemu-kvm: fix compiler warning
  2009-04-27  8:07 [PATCH] qemu-kvm: fix compiler warning Michael S. Tsirkin
@ 2009-05-04 10:07 ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2009-05-04 10:07 UTC (permalink / raw)
  To: Michael S. Tsirkin; +Cc: kvm

Michael S. Tsirkin wrote:
> kvm-common.h:25:7: warning: "__ia64__" is not defined
>   

Went in by another route.

-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-04 10:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-27  8:07 [PATCH] qemu-kvm: fix compiler warning Michael S. Tsirkin
2009-05-04 10:07 ` Avi Kivity

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.