Re: [RFT] llquantize for FreeBSD's dtrace

看板FB_current作者時間13年前 (2012/06/27 03:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串7/10 (看更多)
=0A=0A--- Mar 26/6/12, Mark Peek <mp@FreeBSD.org> ha scritto:=0A=0A> >=0A> = > It's a different assertion.=0A> >=0A> > Probably some difference between = Solaris and BSD.=0A> > this is very useful, thanks!=0A> =0A> Try this, chan= ge the assert on line 1429 in file dt_cc.c=0A> from:=0A> =0A> assert(!(arg = & (UINT16_MAX << args[i].shift)));=0A> =0A> to=0A> =0A> assert(!(arg & ((ui= nt64_t)UINT16_MAX <<=0A> args[i].shift)));=0A> =0A=0AThis certainly looks c= orrect. Thanks Mark !=0A=0AI updated the patch:=0A=0Ahttp://people.freebsd.= org/~pfg/patches/patch-dtrace-llquantize=0A=0Acheers,=0A=0APedro. _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1FwWRkeh (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1FwWRkeh (FB_current)