Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/nathanw_sa]: src/lib/libpthread/arch/i386 Don't frob pt_spinlocks in pth...



details:   https://anonhg.NetBSD.org/src/rev/d3e368910c6b
branches:  nathanw_sa
changeset: 504597:d3e368910c6b
user:      nathanw <nathanw%NetBSD.org@localhost>
date:      Thu Mar 29 18:37:58 2001 +0000

description:
Don't frob pt_spinlocks in pthread__switch; we don't use it for
switching with locks held.

diffstat:

 lib/libpthread/arch/i386/pthread_switch.S |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r a2f9d29e052a -r d3e368910c6b lib/libpthread/arch/i386/pthread_switch.S
--- a/lib/libpthread/arch/i386/pthread_switch.S Thu Mar 29 01:09:11 2001 +0000
+++ b/lib/libpthread/arch/i386/pthread_switch.S Thu Mar 29 18:37:58 2001 +0000
@@ -1,4 +1,4 @@
-/* $Id: pthread_switch.S,v 1.1.2.1 2001/03/05 23:52:06 nathanw Exp $ */
+/* $Id: pthread_switch.S,v 1.1.2.2 2001/03/29 18:37:58 nathanw Exp $ */
 
 /* Copyright */
 
@@ -30,7 +30,6 @@
 
        STACK_SWITCH
 
-       subl    %edx, PT_SPINLOCKS(%eax)
        pushl   %esi
        pushl   %edi
        call    PIC_PLT(_C_LABEL(_swapcontext_u))



Home | Main Index | Thread Index | Old Index