Update clock interrupt count atomically.
authorvisa <visa@openbsd.org>
Thu, 4 Mar 2021 15:38:06 +0000 (15:38 +0000)
committervisa <visa@openbsd.org>
Thu, 4 Mar 2021 15:38:06 +0000 (15:38 +0000)
commitce81117b77a368029b0dbf6f4fdb5b1037e4a2cb
treedb2a245a47699f95f649dcf8f1c73c9df8a829e1
parent9f974b41eaf2d2a6b841574f9376e9d52bd38f5d
Update clock interrupt count atomically.

This avoids errors that can arise when multiple cores update the
variable at the same time.
sys/arch/mips64/mips64/clock.c