diff options
-rw-r--r-- | target-i386/helper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c index c0fb78f6b7..4f197a083c 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -1008,6 +1008,7 @@ void helper_syscall(int next_eip_addend) DESC_S_MASK | DESC_W_MASK | DESC_A_MASK); env->eflags &= ~env->fmask; + load_eflags(env->eflags, 0); if (code64) env->eip = env->lstar; else |