git: kernel - Refactor sysclock_t from 32 to 64 bits (2)

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Jun 11 16:35:07 PDT 2020


commit feadd4aebbda9b86e4ce0aaf9d11f27596b42ddb
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Jun 11 15:57:04 2020 -0700

    kernel - Refactor sysclock_t from 32 to 64 bits (2)
    
    * Cputimer reload values can be negative, check condition and
      set a small positive reload value instead.
    
    * Also avoids muldivu64() overflow warnings on the console.
    
    Reported-by: kworr

Summary of changes:
 sys/dev/virtual/hyperv/vmbus/vmbus.c       | 2 ++
 sys/platform/pc64/apic/lapic.c             | 4 ++++
 sys/platform/pc64/isa/clock.c              | 2 ++
 sys/platform/vkernel64/platform/systimer.c | 4 +++-
 4 files changed, 11 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/feadd4aebbda9b86e4ce0aaf9d11f27596b42ddb


-- 
DragonFly BSD source repository


More information about the Commits mailing list