qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [RFC v2 37/39] pc: Make pc_cpus_init() static


From: Eduardo Habkost
Subject: [Qemu-devel] [RFC v2 37/39] pc: Make pc_cpus_init() static
Date: Fri, 13 Jun 2014 16:44:16 -0300

Signed-off-by: Eduardo Habkost <address@hidden>
---
 hw/i386/pc.c         | 2 +-
 include/hw/i386/pc.h | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 9b7854d..2836b5f 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -1017,7 +1017,7 @@ void pc_hot_add_cpu(const int64_t id, Error **errp)
     pc_new_cpu(current_cpu_model, apic_id, icc_bridge, errp);
 }
 
-void pc_cpus_init(const char *cpu_model, DeviceState *icc_bridge)
+static void pc_cpus_init(PCMachineState *pcms)
 {
     int i;
     X86CPU *cpu = NULL;
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h
index ce4410b..d14829b 100644
--- a/include/hw/i386/pc.h
+++ b/include/hw/i386/pc.h
@@ -186,7 +186,6 @@ extern int fd_bootchk;
 void pc_register_ferr_irq(qemu_irq irq);
 void pc_acpi_smi_interrupt(void *opaque, int irq, int level);
 
-void pc_cpus_init(const char *cpu_model, DeviceState *icc_bridge);
 void pc_hot_add_cpu(const int64_t id, Error **errp);
 void pc_acpi_init(const char *default_dsdt);
 
-- 
1.9.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]