From ef16aa3b5baa9591db458adb9e6fbe34d211088b Mon Sep 17 00:00:00 2001 From: jhb Date: Fri, 6 Oct 2000 01:47:24 +0000 Subject: Remove an unnecessary sti and spl0() in fork_trampoline. Interrupts should be enabled by MTX_EXIT() now when it releases the sched_lock. --- sys/amd64/amd64/exception.S | 2 -- sys/amd64/amd64/exception.s | 2 -- sys/i386/i386/exception.s | 2 -- 3 files changed, 6 deletions(-) diff --git a/sys/amd64/amd64/exception.S b/sys/amd64/amd64/exception.S index 36f5bba3..a36375a 100644 --- a/sys/amd64/amd64/exception.S +++ b/sys/amd64/amd64/exception.S @@ -304,8 +304,6 @@ IDTVEC(int0x80_syscall) ENTRY(fork_trampoline) MTX_EXIT(_sched_lock, %ecx) - sti - call _spl0 #ifdef SMP cmpl $0,_switchtime diff --git a/sys/amd64/amd64/exception.s b/sys/amd64/amd64/exception.s index 36f5bba3..a36375a 100644 --- a/sys/amd64/amd64/exception.s +++ b/sys/amd64/amd64/exception.s @@ -304,8 +304,6 @@ IDTVEC(int0x80_syscall) ENTRY(fork_trampoline) MTX_EXIT(_sched_lock, %ecx) - sti - call _spl0 #ifdef SMP cmpl $0,_switchtime diff --git a/sys/i386/i386/exception.s b/sys/i386/i386/exception.s index 36f5bba3..a36375a 100644 --- a/sys/i386/i386/exception.s +++ b/sys/i386/i386/exception.s @@ -304,8 +304,6 @@ IDTVEC(int0x80_syscall) ENTRY(fork_trampoline) MTX_EXIT(_sched_lock, %ecx) - sti - call _spl0 #ifdef SMP cmpl $0,_switchtime -- cgit v1.1