CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2021/02/22 21:44:31
Modified files:
sys/arch/alpha/alpha: clock.c
sys/arch/amd64/amd64: tsc.c
sys/arch/amd64/isa: clock.c
sys/arch/armv7/omap: dmtimer.c gptimer.c
sys/arch/armv7/sunxi: sxitimer.c
sys/arch/arm/cortex: amptimer.c agtimer.c
sys/arch/arm64/dev: agtimer.c
sys/arch/hppa/dev: clock.c
sys/arch/i386/isa: clock.c
sys/arch/i386/pci: gscpm.c ichpcib.c geodesc.c
sys/arch/macppc/macppc: clock.c
sys/arch/mips64/mips64: mips64_machdep.c
sys/arch/sparc64/dev: psycho.c
sys/arch/sparc64/sparc64: clock.c
sys/arch/powerpc64/powerpc64: clock.c
sys/dev/pv : hyperv.c pvclock.c
sys/dev/acpi : acpihpet.c acpitimer.c
sys/dev/pci : amdpm.c viapm.c
sys/kern : kern_tc.c
Log message:
timecounting: use C99-style initialization for all timecounter structs
The timecounter struct is large and I think it may change in the
future. Changing it later will be easier if we use C99-style
initialization for all timecounter structs. It also makes reading the
code a bit easier.
For reasons I cannot explain, switching to C99-style initialization
sometimes changes the hash of the resulting object file, even though
the resulting struct should be the same. So there is a binary change
here, but only sometimes. No behavior should change in either case.
I can't compile-test this everywhere but I have been staring at the
diff for days now and I'm relatively confident this will not break
compilation. Fingers crossed.
ok gnezdo@