There is too much #ifdef DEBUG stuff cluttering locore, really. While some of
authormiod <miod@openbsd.org>
Mon, 8 Apr 2024 20:05:51 +0000 (20:05 +0000)
committermiod <miod@openbsd.org>
Mon, 8 Apr 2024 20:05:51 +0000 (20:05 +0000)
commite1f14dc30c5565c2edc83c26ae8780626616ec88
treef655113583026e82dba79378d6340468973661bd
parentb081b1ba77baeaeebbafdb229cef9fb50d258b84
There is too much #ifdef DEBUG stuff cluttering locore, really. While some of
it had sense in the early days of the sparc64 port, this code has bitrotten
and is getting in the way. Time for a visit to the Attic.

This removes:
- interrupt handling debug code (forcing hz = 1, probably broken since years).
- unused or too invasive DEBUG code which noone will ever use in this state.
- #if 0 code blocks which have been this way since locore.s revision 1.1 and
  will never get enabled.

ok kettenis@
sys/arch/sparc64/sparc64/clock.c
sys/arch/sparc64/sparc64/locore.s