[PATCH 1/2] acpi: enable/disable_processor() are used only for TARGET_I386

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Juan Quintela <quintela@xxxxxxxxxx>
---
 hw/acpi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/acpi.c b/hw/acpi.c
index 0f80525..ff7bc4a 100644
--- a/hw/acpi.c
+++ b/hw/acpi.c
@@ -753,6 +753,7 @@ void piix4_acpi_system_hot_add_init(const char *cpu_model)
     qemu_system_device_hot_add_register(piix4_device_hot_add);
 }

+#if defined(TARGET_I386)
 static void enable_processor(struct gpe_regs *g, int cpu)
 {
     g->sts |= 4;
@@ -765,7 +766,6 @@ static void disable_processor(struct gpe_regs *g, int cpu)
     g->cpus_sts[cpu/8] &= ~(1 << (cpu%8));
 }

-#if defined(TARGET_I386) || defined(TARGET_X86_64)
 void qemu_system_cpu_hot_add(int cpu, int state)
 {
     CPUState *env;
-- 
1.6.2.5

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux