diff options
Diffstat (limited to 'x86_64')
-rw-r--r-- | x86_64/locore.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/x86_64/locore.S b/x86_64/locore.S index 296a8e28..f3860b89 100644 --- a/x86_64/locore.S +++ b/x86_64/locore.S @@ -539,7 +539,8 @@ fault_popl_gs: jmp push_segregs /* (GS on top of stack) */ push_es: - pushq %es /* restore es, */ + movq %es,%rcx + pushq %rcx /* restore es, */ push_fs: pushq %fs /* restore fs, */ push_gs: |