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

看板DFBSD_commit作者時間15年前 (2010/12/03 11:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1C-6IsFe (DFBSD_commit)