CVSROOT:        /cvs
Module name:    src
Changes by:     chel...@cvs.openbsd.org 2023/09/14 13:39:48

Modified files:
        sys/kern       : kern_clock.c kern_clockintr.c 
        sys/sys        : clockintr.h systm.h 
        sys/arch/amd64/amd64: lapic.c 
        sys/arch/arm64/dev: agtimer.c 
        sys/arch/arm/cortex: agtimer.c amptimer.c 
        sys/arch/armv7/omap: dmtimer.c gptimer.c 
        sys/arch/armv7/sunxi: sxitimer.c 
        sys/arch/hppa/dev: clock.c 
        sys/arch/i386/i386: lapic.c 
        sys/arch/loongson/dev: glxclk.c 
        sys/arch/macppc/macppc: clock.c 
        sys/arch/mips64/mips64: clock.c 
        sys/arch/powerpc64/powerpc64: clock.c 
        sys/arch/riscv64/riscv64: clock.c 
        sys/arch/sparc64/sparc64: clock.c 

Log message:
clockintr: replace CL_RNDSTAT with global variable statclock_is_randomized

In order to separate the statclock from the clock interrupt subsystem
we need to move all statclock state out into the broader kernel.

Start by replacing the CL_RNDSTAT flag with a new global variable,
"statclock_is_randomized", in kern_clock.c.  Update all clockintr_init()
callers to set the boolean instead of passing the flag.

Thread: https://marc.info/?l=openbsd-tech&m=169428749720476&w=2

Reply via email to