[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [matt-nb5-mips64] src/sys/arch/mips/include
Module Name: src
Committed By: matt
Date: Mon Feb 15 03:11:58 UTC 2010
src/sys/arch/mips/include [matt-nb5-mips64]: lock.h
In SIMPLELOCK_LOCKED_P check against != UNLOCKED instead of == LOCKED.
This is so the compiler can emit a bnez instead of loading 1 into a register
and then doing beq.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r220.127.116.11 src/sys/arch/mips/include/lock.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |