cvs commit: src/sys/kern kern_umtx.c
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
討論串 (同標題文章)