summaryrefslogtreecommitdiff
path: root/x86_64/locore.S
diff options
context:
space:
mode:
Diffstat (limited to 'x86_64/locore.S')
-rw-r--r--x86_64/locore.S4
1 files changed, 1 insertions, 3 deletions
diff --git a/x86_64/locore.S b/x86_64/locore.S
index 4e341860..4d61d618 100644
--- a/x86_64/locore.S
+++ b/x86_64/locore.S
@@ -446,11 +446,9 @@ push_fs:
pushq %fs /* restore fs, */
push_gs:
pushq %gs /* restore gs. */
-#ifdef USER32
push_gsbase:
pushq $0
pushq $0
-#endif
push_segregs:
movq %rax,R_TRAPNO(%rsp) /* set trap number */
movq %rdx,R_ERR(%rsp) /* set error code */
@@ -870,7 +868,7 @@ ast_from_interrupt:
push %rdx
mov %es,%rdx
push %rdx
- PUSH_FSGS
+ PUSH_FSGS_ISR
mov %ss,%dx /* switch to kernel segments */
mov %dx,%ds