macppc: cpu_initclocks: install tb_timecounter before cpu_startclock()
authorcheloha <cheloha@openbsd.org>
Thu, 8 Sep 2022 03:06:33 +0000 (03:06 +0000)
committercheloha <cheloha@openbsd.org>
Thu, 8 Sep 2022 03:06:33 +0000 (03:06 +0000)
commitb0c307ff42a7c5db766e6720b731cebd0381ff83
treec1ea8bf5a2eea4c1f0099c64100cbe5726c07d3f
parent727cd478d9abcb75d2f92d94ee39787e661c4db9
macppc: cpu_initclocks: install tb_timecounter before cpu_startclock()

In the future, the clock interrupt code will need a real timecounter
to work correctly.  Nudge the tc_init(9) call for tb_timecounter up
before cpu_startclock().
sys/arch/macppc/macppc/clock.c