From 78e9aa70febc3985a2c88dbc0c7a87d214231c3d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 15 Apr 2015 02:13:23 -0400 Subject: sim: unify sim-cpu usage Now that all the targets are utilizing CPU_PC_{FETCH,STORE}, and the cpu state is multicore, and the STATE_CPU defines match, we can move it all to the common code. --- sim/m32r/sim-main.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'sim/m32r/sim-main.h') diff --git a/sim/m32r/sim-main.h b/sim/m32r/sim-main.h index 96c1ec1..9f859e2 100644 --- a/sim/m32r/sim-main.h +++ b/sim/m32r/sim-main.h @@ -69,11 +69,6 @@ struct _sim_cpu { struct sim_state { sim_cpu *cpu[MAX_NR_PROCESSORS]; -#if (WITH_SMP) -#define STATE_CPU(sd,n) ((sd)->cpu[n]) -#else -#define STATE_CPU(sd,n) ((sd)->cpu[0]) -#endif CGEN_STATE cgen_state; -- cgit v1.1