aboutsummaryrefslogtreecommitdiff
path: root/target-sparc/cpu.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-07-02 18:26:11 +0200
committerAndreas Färber <afaerber@suse.de>2013-10-07 11:48:47 +0200
commit51fb256ab5ebc3e1879eb1df9c828866a2ef8141 (patch)
tree85d136dd7e316ab158c3db2b45887f543bdedb4f /target-sparc/cpu.c
parent30ba0ee52d1519b717089782ef1caf0480a01dc3 (diff)
cpu: Drop cpu_model_str from CPU_COMMON
Since this is only read in cpu_copy() and linux-user has a global cpu_model, drop the field from generic code. Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-sparc/cpu.c')
-rw-r--r--target-sparc/cpu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/target-sparc/cpu.c b/target-sparc/cpu.c
index 47ce60de4a..e7f878ee81 100644
--- a/target-sparc/cpu.c
+++ b/target-sparc/cpu.c
@@ -84,7 +84,6 @@ static int cpu_sparc_register(CPUSPARCState *env, const char *cpu_model)
env->def->features |= CPU_FEATURE_FLOAT128;
}
#endif
- env->cpu_model_str = cpu_model;
env->version = def->iu_version;
env->fsr = def->fpu_version;
env->nwindows = def->nwindows;