aboutsummaryrefslogtreecommitdiff
path: root/sim/bpf/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/bpf/cpu.h')
-rw-r--r--sim/bpf/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/bpf/cpu.h b/sim/bpf/cpu.h
index 5dd42de..fb5344e 100644
--- a/sim/bpf/cpu.h
+++ b/sim/bpf/cpu.h
@@ -54,7 +54,7 @@ do { \
CPU (h_pc) = (x);\
;} while (0)
} hardware;
-#define CPU_CGEN_HW(cpu) (& (cpu)->cpu_data.hardware)
+#define CPU_CGEN_HW(cpu) (& BPF_SIM_CPU (cpu)->cpu_data.hardware)
} BPFBF_CPU_DATA;
/* Cover fns for register access. */