Hi Andreas, On Mon, Mar 10, 2014 at 4:15 AM, Andreas Färber <afaer...@suse.de> wrote: > diff --git a/target-xtensa/op_helper.c b/target-xtensa/op_helper.c > index 4265378..8641e5d 100644 > --- a/target-xtensa/op_helper.c > +++ b/target-xtensa/op_helper.c > @@ -54,7 +54,7 @@ static void do_unaligned_access(CPUXtensaState *env, > { > if (xtensa_option_enabled(env->config, > XTENSA_OPTION_UNALIGNED_EXCEPTION) && > !xtensa_option_enabled(env->config, XTENSA_OPTION_HW_ALIGNMENT)) > { > - cpu_restore_state(env, retaddr); > + cpu_restore_state(ENV_GET_CPU(env), retaddr);
In other patches if this series you use CPU(xtensa_env_get_cpu(env)), why ENV_GET_CPU here? -- Thanks. -- Max