diff options
author | jhb <jhb@FreeBSD.org> | 2000-10-06 01:47:24 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2000-10-06 01:47:24 +0000 |
commit | ef16aa3b5baa9591db458adb9e6fbe34d211088b (patch) | |
tree | 37e9620ce4b7da35dcda3c7a76fe6d08fbb1597e | |
parent | d23b63a6a0f2e31272d654a135d2e8f8c6d8aba3 (diff) | |
download | FreeBSD-src-ef16aa3b5baa9591db458adb9e6fbe34d211088b.zip FreeBSD-src-ef16aa3b5baa9591db458adb9e6fbe34d211088b.tar.gz |
Remove an unnecessary sti and spl0() in fork_trampoline. Interrupts
should be enabled by MTX_EXIT() now when it releases the sched_lock.
-rw-r--r-- | sys/amd64/amd64/exception.S | 2 | ||||
-rw-r--r-- | sys/amd64/amd64/exception.s | 2 | ||||
-rw-r--r-- | sys/i386/i386/exception.s | 2 |
3 files changed, 0 insertions, 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 |