DragonFly BSD
DragonFly commits List (threaded) for 2010-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 2 Dec 2010 19:00:49 -0800 (PST)

commit d87e79b9718a65a1c18ee1e4959a507e8f37e87f
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]