Use __DEQUALIFY, not only __DECONST to get rid of the volatile too.
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Sun, 23 Jan 2005 13:26:37 +0000 (13:26 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Sun, 23 Jan 2005 13:26:37 +0000 (13:26 +0000)
commit05bc7926755827cf240235079e529fa1f823345b
tree7bca46634c9f9dbd7367c3238f9dbb1e422f5561
parentb5d6ce9261e6841f08dde06ca5fb100da12c5a71
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.
sys/kern/kern_umtx.c