summaryrefslogtreecommitdiff
path: root/src/kernel/arch/i386/sysenter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/arch/i386/sysenter.c')
-rw-r--r--src/kernel/arch/i386/sysenter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/arch/i386/sysenter.c b/src/kernel/arch/i386/sysenter.c
index 9ba826b..b24c857 100644
--- a/src/kernel/arch/i386/sysenter.c
+++ b/src/kernel/arch/i386/sysenter.c
@@ -10,6 +10,7 @@ void sysexit(struct registers regs) {
_sysexit_regs.ecx = regs.esp;
_sysexit_regs.edx = regs.eip;
_sysexit_real();
+ __builtin_unreachable();
}
_Noreturn void sysenter_stage2() {