Subject: CVS commit: src/sys/arch/mips
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 11/29/2007 00:14:27
Module Name:	src
Committed By:	ad
Date:		Thu Nov 29 00:14:27 UTC 2007

Modified Files:
	src/sys/arch/mips/include: lock.h mutex.h rwlock.h
	src/sys/arch/mips/mips: lock_stubs.S

Log Message:
- Change _lock_cas and friends to do "compare and swap" instead of "compare
  and set".
- Rename them to _atomic_cas_uint, _atomic_cas_ulong etc and provide strong
  aliases for the other names CAS goes by.


To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 src/sys/arch/mips/include/lock.h
cvs rdiff -r1.3 -r1.4 src/sys/arch/mips/include/mutex.h \
    src/sys/arch/mips/include/rwlock.h
cvs rdiff -r1.5 -r1.6 src/sys/arch/mips/mips/lock_stubs.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.