aboutsummaryrefslogtreecommitdiff
path: root/sim/bpf/sim-if.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/bpf/sim-if.c')
-rw-r--r--sim/bpf/sim-if.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sim/bpf/sim-if.c b/sim/bpf/sim-if.c
index ad75ac4..c2c01fc 100644
--- a/sim/bpf/sim-if.c
+++ b/sim/bpf/sim-if.c
@@ -122,8 +122,7 @@ sim_open (SIM_OPEN_KIND kind,
SIM_DESC sd = sim_state_alloc (kind, callback);
- 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)
goto error;
if (sim_pre_argv_init (sd, argv[0]) != SIM_RC_OK)