macppc: dec_rearm: don't disable interrupts around atomic operations
authorcheloha <cheloha@openbsd.org>
Sat, 4 Feb 2023 23:17:05 +0000 (23:17 +0000)
committercheloha <cheloha@openbsd.org>
Sat, 4 Feb 2023 23:17:05 +0000 (23:17 +0000)
commite36cf2a328cb2d152b55a710f25581b8ba2d8b8d
tree70e8a72b1c468333e2a109e8dfab953b7abbfe0a
parent2095c73744945b88b7836cfd196678a60cff8541
macppc: dec_rearm: don't disable interrupts around atomic operations

We don't need to disable interrupts around ppc_mtdec().  The
underlying operation, mtdec, is atomic.

Link: https://marc.info/?l=openbsd-tech&m=167494864124073&w=2
ok gkoehler@
sys/arch/macppc/macppc/clock.c