From e9edc207caa0ebe0245c2ce57f7de2c5339c92db Mon Sep 17 00:00:00 2001
From: Xiantao Zhang <xiantao.zhang@intel.com>
Date: Thu, 20 Mar 2008 10:17:29 +0800
Subject: [PATCH] kvm:qemu: qemu_system_cpu_hot_add not supported for ia64.

Comment it out first for build pass.
Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
---
 qemu/hw/acpi.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/qemu/hw/acpi.c b/qemu/hw/acpi.c
index ae74f32..35641a0 100644
--- a/qemu/hw/acpi.c
+++ b/qemu/hw/acpi.c
@@ -718,7 +718,7 @@ static void disable_processor(struct gpe_regs *g, int cpu)
     g->en |= 1;
     g->down |= (1 << cpu);
 }
-
+#if defined(TARGET_I386) || defined(TARGET_X86_64)
 void qemu_system_cpu_hot_add(int cpu, int state)
 {
     CPUState *env;
@@ -743,7 +743,7 @@ void qemu_system_cpu_hot_add(int cpu, int state)
         disable_processor(&gpe, cpu);
     qemu_set_irq(pm_state->irq, 0);
 }
-
+#endif
 static void enable_device(struct pci_status *p, struct gpe_regs *g, int slot)
 {
     g->sts |= 2;
-- 
1.5.2

