cvs commit: src/sys/kern kern_umtx.c
Joerg Sonnenberger
joerg at crater.dragonflybsd.org
Sun Jan 23 05:27:17 PST 2005
joerg 2005/01/23 05:26:37 PST
DragonFly src repository
Modified files:
sys/kern kern_umtx.c
Log:
Use __DEQUALIFY, not only __DECONST to get rid of the volatile too.
This is safe for fuword (any interesting architecture has atomic
fetch instructions for integers) and the other uses doesn't touch
the memory at all.
Revision Changes Path
1.2 +3 -3 src/sys/kern/kern_umtx.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_umtx.c.diff?r1=1.1&r2=1.2&f=u
More information about the Commits
mailing list