CVSROOT: /cvs Module name: src Changes by: chel...@cvs.openbsd.org 2022/12/22 12:51:11
Modified files: sys/arch/sparc64/sparc64: locore.s clock.c Log message: sparc64: move retry logic out of stickcmpr_set() In some cases, stickcmpr_set() fails to ensure that %STICK_CMPR leads %STICK before returning to the caller. Rewriting the retry logic in C trivially fixes the issue. So move the retry logic out into a new function, stick_rearm(). Issue discovered by miod@, fix tested by miod@. Link: https://marc.info/?l=openbsd-tech&m=167122933414238&w=2 ok kettenis@