diff options
Diffstat (limited to 'target-cris/cpu-qom.h')
-rw-r--r-- | target-cris/cpu-qom.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-cris/cpu-qom.h b/target-cris/cpu-qom.h index 2bac71fd81..11e528661d 100644 --- a/target-cris/cpu-qom.h +++ b/target-cris/cpu-qom.h @@ -71,5 +71,6 @@ static inline CRISCPU *cris_env_get_cpu(CPUCRISState *env) #define ENV_GET_CPU(e) CPU(cris_env_get_cpu(e)) +#define ENV_OFFSET offsetof(CRISCPU, env) #endif |