From 6393c08de23548be82d53ad462ed5acad107da1f Mon Sep 17 00:00:00 2001 From: Andreas Färber Date: Wed, 14 Mar 2012 01:38:22 +0100 Subject: target-lm32: Don't overuse CPUState MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Scripted conversion: sed -i "s/CPUState/CPULM32State/g" target-lm32/*.[hc] sed -i "s/#define CPULM32State/#define CPUState/" target-lm32/cpu.h Signed-off-by: Andreas Färber Acked-by: Anthony Liguori --- target-lm32/op_helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target-lm32/op_helper.c') diff --git a/target-lm32/op_helper.c b/target-lm32/op_helper.c index 02be13412e..e9c96383af 100644 --- a/target-lm32/op_helper.c +++ b/target-lm32/op_helper.c @@ -75,11 +75,11 @@ uint32_t helper_rcsr_jrx(void) NULL, it means that the function was called in C code (i.e. not from generated code or from helper.c) */ /* XXX: fix it to restore all registers */ -void tlb_fill(CPUState *env1, target_ulong addr, int is_write, int mmu_idx, +void tlb_fill(CPULM32State *env1, target_ulong addr, int is_write, int mmu_idx, void *retaddr) { TranslationBlock *tb; - CPUState *saved_env; + CPULM32State *saved_env; unsigned long pc; int ret; -- cgit 1.4.1