kernel - Fix bug in x86-64 version of bzeront()
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 3 Dec 2010 02:11:29 +0000 (18:11 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 3 Dec 2010 02:42:54 +0000 (18:42 -0800)
commitd87e79b9718a65a1c18ee1e4959a507e8f37e87f
tree4f0759f152642e73a0ad7f4df5e31e041397c4f5
parenta84e173e22bf0ea7d3d281a3cb30d0064312742f
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.
sys/cpu/x86_64/misc/bzeront.s
sys/kern/init_main.c
sys/platform/pc32/i386/identcpu.c
sys/platform/pc32/isa/npx.c
sys/platform/pc64/x86_64/identcpu.c
sys/sys/param.h
sys/sys/systm.h
sys/vm/vm_zeroidle.c