summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/idt.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/idt.S b/src/arch/x86/idt.S
index d763b9e3fe..99d6e95ec5 100644
--- a/src/arch/x86/idt.S
+++ b/src/arch/x86/idt.S
@@ -170,6 +170,7 @@ int_hand:
pop %r15
add $16, %rsp /* pop of the vector and error code */
+ iretq
#else
/* At this point, on x86-32, on the stack there is:
* 0(%esp) vector
@@ -211,6 +212,5 @@ int_hand:
popl %edi
addl $8, %esp /* pop of the vector and error code */
-#endif
-
iret
+#endif