Date: Thu, 10 Feb 2011 15:37:59 -0500 From: Michael Butler <imb@protected-networks.net> To: Bernhard Froehlich <decke@FreeBSD.org> Cc: freebsd-emulation@freebsd.org Subject: RE: virtualbox-ose-kmod breakage after svn r218425 Message-ID: <20110210203801.2D948106566B@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
I do not consider my very minor patch to impose any different licence to th= e code to which is applicable. Please feel free to do with it as you wish, imb =20 -----Original Message----- From: Bernhard Froehlich <decke@FreeBSD.org> Sent: February 10, 2011 15:25 To: Michael Butler <imb@protected-networks.net> Cc: freebsd-emulation@freebsd.org Subject: Re: virtualbox-ose-kmod breakage after svn r218425 On Wed, 09 Feb 2011 14:03:59 -0500, Michael Butler wrote: > On 02/09/11 14:00, Michael Butler wrote: >> Attached is a patch required for vboxdrv.ko to load after the (public) >> disappearance of uio_yield. >> >> Presumably, this will need to be applied to the other branches at >> bluelife.at >> >> imb >=20 > Mailman ate my homework! >=20 > *** ./src/VBox/Runtime/r0drv/freebsd/thread-r0drv-freebsd.c~ Wed Dec > 1 12:09:43 2010 > --- ./src/VBox/Runtime/r0drv/freebsd/thread-r0drv-freebsd.c Wed Feb > 9 13:44:28 2011 > *************** > *** 101,107 **** > --- 101,111 ---- >=20 > RTDECL(bool) RTThreadYield(void) > { > + #if (__FreeBSD_version >=3D 900032) > + kern_yield(curthread->td_user_pri); > + #else > uio_yield(); > + #endif > return false; /** @todo figure this one ... */ > } Thanks, applied in r1215. Could you please reply and confirm that this patch is under the MIT License so that we can push this upstream? http://svn.bluelife.at/index.cgi/blueports/revision/?rev=3D1215 --=20 Bernhard Froehlich http://www.bluelife.at/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110210203801.2D948106566B>