git: kernel - Fix bug in x86-64 version of bzeront()

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Dec 2 19:02:32 PST 2010


commit d87e79b9718a65a1c18ee1e4959a507e8f37e87f
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Dec 2 18:11:29 2010 -0800

    kernel - Fix bug in x86-64 version of bzeront()
    
    * The x86-64 bzeront code was subtracting the wrong value from the count
      when looping.  Note that prior to this commit the code was not being
      used anyway.
    
    * Rearrange the way movnti support is detected and enable for x86-64.

Summary of changes:
 sys/cpu/x86_64/misc/bzeront.s       |    4 ++--
 sys/kern/init_main.c                |    1 +
 sys/platform/pc32/i386/identcpu.c   |   12 ++++++++++--
 sys/platform/pc32/isa/npx.c         |    4 ----
 sys/platform/pc64/x86_64/identcpu.c |    4 ++++
 sys/sys/param.h                     |    5 +++++
 sys/sys/systm.h                     |    1 +
 sys/vm/vm_zeroidle.c                |    6 +++---
 8 files changed, 26 insertions(+), 11 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list