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

Re: [Xen-devel] tools/misc/xencov.c: build failure on NetBSD



On Wed, 2013-05-22 at 23:43 +0000, Miguel Clara wrote:
> Christoph Egger <chegger <at> amazon.de> writes:
> 
> > 
> > Hi,
> > 
> > tools/misc/xencov.c fails to build.
> > NetBSD does not have MAP_LOCKED.
> > 
> > Christoph
> > 
> 
> I wanted to test 4.3 on NetBSD but ended up with this problem too... In fact
> this happened before in other parts of the code... 
> http://lists.xen.org/archives/html/xen-devel/2012-06/msg00576.html
> 
> I guess this would fix it...

Please can you confirm and if so submit a patch

See http://wiki.xen.org/wiki/Submitting_Xen_Patches for some hints on
how to do that.

> 
> #ifdef __NetBSD__ 
> /* MAP_LOCKED is Linux specific. MAP_WIRED is NetBSD's equivalent. */ 
> #define MAP_LOCKED MAP_WIRED 
> #endif 
> 
> Sadly I came across another error, still searching if it was already posted,
> otherwise I will!
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.