Date: Tue, 4 Jul 2006 12:54:40 GMT From: Paolo Pisati <piso@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 100559 for review Message-ID: <200607041254.k64Csem4043770@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=100559 Change 100559 by piso@piso_newluxor on 2006/07/04 12:54:39 Axe the last vestiges of 4.x support in libalias modules. Affected files ... .. //depot/projects/soc2005/libalias/sys/netinet/libalias/alias_mod.c#7 edit .. //depot/projects/soc2005/libalias/sys/netinet/libalias/alias_mod.h#6 edit Differences ... ==== //depot/projects/soc2005/libalias/sys/netinet/libalias/alias_mod.c#7 (text+ko) ==== ==== //depot/projects/soc2005/libalias/sys/netinet/libalias/alias_mod.h#6 (text+ko) ==== @@ -75,7 +75,8 @@ struct proto_handler *next; }; -#if __FreeBSD_version >= 500000 +#ifdef _KERNEL +// XXX - convert it to use queue(3) and rwlock(9) struct chain { void *chain; struct mtx mtx; /* Lock guarding list. */ @@ -84,9 +85,9 @@ struct cv cv; }; #else +// XXX - convert it to use queue(3) struct chain { void *chain; - int spl; }; #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607041254.k64Csem4043770>