aboutsummaryrefslogtreecommitdiff
path: root/sim/lm32/sim-if.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/lm32/sim-if.c')
-rw-r--r--sim/lm32/sim-if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/lm32/sim-if.c b/sim/lm32/sim-if.c
index 398eb60..c97a451 100644
--- a/sim/lm32/sim-if.c
+++ b/sim/lm32/sim-if.c
@@ -89,7 +89,7 @@ sim_open (SIM_OPEN_KIND kind, host_callback *callback, struct bfd *abfd,
unsigned long base, limit;
/* The cpu data is kept in a separately allocated chunk of memory. */
- if (sim_cpu_alloc_all (sd, 1, cgen_cpu_max_extra_bytes ()) != SIM_RC_OK)
+ if (sim_cpu_alloc_all (sd, 1) != SIM_RC_OK)
{
free_state (sd);
return 0;