From 3d779beaa36710c7cbfd154ee523a9f9340dfed2 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Thu, 7 Feb 2008 19:06:03 +0000 Subject: [PATCH] Don't invalidate the syscall number, since that's not handled graciously in the syscall handler. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23919 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/arch/x86/arch_thread.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/system/kernel/arch/x86/arch_thread.c b/src/system/kernel/arch/x86/arch_thread.c index acbf40fb5f..3e05c6d67a 100644 --- a/src/system/kernel/arch/x86/arch_thread.c +++ b/src/system/kernel/arch/x86/arch_thread.c @@ -508,8 +508,6 @@ arch_restore_signal_frame(void) TRACE(("### arch_restore_signal_frame: exit\n")); - frame->orig_eax = -1; /* disable syscall checks */ - return (int64)frame->eax | ((int64)frame->edx << 32); }