summaryrefslogtreecommitdiffstats
path: root/target-i386/cpu.c
diff options
context:
space:
mode:
authorEduardo Habkost2014-12-19 02:05:20 +0100
committerEduardo Habkost2015-02-25 19:00:07 +0100
commit644dba250a3ed04079792f0d6cc918fb1483e6a5 (patch)
tree389011fd1a1e268149417520d5a02510b87629a5 /target-i386/cpu.c
parenttarget-i386: Move topology.h to include/hw/i386 (diff)
downloadqemu-644dba250a3ed04079792f0d6cc918fb1483e6a5.tar.gz
qemu-644dba250a3ed04079792f0d6cc918fb1483e6a5.tar.xz
qemu-644dba250a3ed04079792f0d6cc918fb1483e6a5.zip
target-i386: Rename cpu_x86_init() to cpu_x86_init_user()
The function is used only for CONFIG_USER, so make its purpose clear. Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'target-i386/cpu.c')
-rw-r--r--target-i386/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/cpu.c b/target-i386/cpu.c
index 356f97ea14..8f18556960 100644
--- a/target-i386/cpu.c
+++ b/target-i386/cpu.c
@@ -2135,7 +2135,7 @@ out:
return cpu;
}
-X86CPU *cpu_x86_init(const char *cpu_model)
+X86CPU *cpu_x86_init_user(const char *cpu_model)
{
Error *error = NULL;
X86CPU *cpu;