From: Zhang Xiantao <[EMAIL PROTECTED]>
Date: Wed, 5 Dec 2007 10:56:07 +0800
Subject: [PATCH] kvm: qemu: update softmmu_header.h for ia64 compile
pass.

Add macro definitions of ia64 case in softmmu_header.h
Signed-off-by: Zhang Xiantao <[EMAIL PROTECTED]>
---
 qemu/softmmu_header.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/qemu/softmmu_header.h b/qemu/softmmu_header.h
index 768b877..9fca311 100644
--- a/qemu/softmmu_header.h
+++ b/qemu/softmmu_header.h
@@ -90,6 +90,8 @@
 #define CPU_MEM_INDEX ((env->ps >> 3) & 3)
 #elif defined (TARGET_M68K)
 #define CPU_MEM_INDEX ((env->sr & SR_S) == 0)
+#elif defined (TARGET_IA64)
+#define CPU_MEM_INDEX (0)
 #else
 #error unsupported CPU
 #endif
-- 
1.5.2

Attachment: 0010-kvm-qemu-update-softmmu_header.h-for-ia64-compile.patch
Description: 0010-kvm-qemu-update-softmmu_header.h-for-ia64-compile.patch

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to