diff --git a/kernel-src/sys/syscalls/sigreturn.c b/kernel-src/sys/syscalls/sigreturn.c index 8b016c13..16971f48 100644 --- a/kernel-src/sys/syscalls/sigreturn.c +++ b/kernel-src/sys/syscalls/sigreturn.c @@ -26,8 +26,6 @@ __attribute__((noreturn)) void syscall_sigreturn(context_t *context) { arch_extracontext_copy(¤t_thread()->extracontext, &sigframe->extracontext); ARCH_CONTEXT_THREADLOAD(current_thread(), context); - - interrupt_set(true); arch_context_switch(&sigframe->context); // if we were to return normally, CTX_RET and CTX_ERRNO would be corrupted,