Kernel: Remove is_in_syscall from Thread

This commit is contained in:
Bananymous
2023-07-30 14:49:51 +03:00
parent 1d7795e22c
commit de927b6b05
4 changed files with 1 additions and 9 deletions

View File

@@ -161,7 +161,7 @@ namespace IDT
Kernel::Thread::current().set_return_rip(interrupt_stack.rip);
}
if (tid && Kernel::Thread::current().is_userspace() && !Kernel::Thread::current().is_in_syscall())
if (tid && Kernel::Thread::current().is_userspace())
{
// TODO: Confirm and fix the exception to signal mappings