diff options
author | Andreas Färber <afaerber@suse.de> | 2012-03-14 01:38:22 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-03-14 22:20:25 +0100 |
commit | 7db13fae2cec51a012ba83e5d6b3483a9c718737 (patch) | |
tree | 9e428770dfac8746a0fd0ca6f5723fa320bc02ab /target-mips/machine.c | |
parent | 68cee38a9c228ada5f7cac611a229f8c6d2674c6 (diff) |
target-mips: Don't overuse CPUState
Scripted conversion:
sed -i "s/CPUState/CPUMIPSState/g" target-mips/*.[hc]
sed -i "s/#define CPUMIPSState/#define CPUState/" target-mips/cpu.h
Signed-off-by: Andreas Färber <afaerber@suse.de>
Acked-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'target-mips/machine.c')
-rw-r--r-- | target-mips/machine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-mips/machine.c b/target-mips/machine.c index a506ee0b24..23504ba9ae 100644 --- a/target-mips/machine.c +++ b/target-mips/machine.c @@ -42,7 +42,7 @@ static void save_fpu(QEMUFile *f, CPUMIPSFPUContext *fpu) void cpu_save(QEMUFile *f, void *opaque) { - CPUState *env = opaque; + CPUMIPSState *env = opaque; int i; /* Save active TC */ @@ -190,7 +190,7 @@ static void load_fpu(QEMUFile *f, CPUMIPSFPUContext *fpu) int cpu_load(QEMUFile *f, void *opaque, int version_id) { - CPUState *env = opaque; + CPUMIPSState *env = opaque; int i; if (version_id != 3) |