Date: Fri, 5 Oct 2007 13:02:13 GMT From: Marko Zec <zec@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 127227 for review Message-ID: <200710051302.l95D2DxD006750@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=127227 Change 127227 by zec@zec_tpx32 on 2007/10/05 13:02:12 Fix vprocg iteration macros so that they are also available in nooptions INVARIANTS kernel configs. Affected files ... .. //depot/projects/vimage/src/sys/sys/vimage.h#40 edit Differences ... ==== //depot/projects/vimage/src/sys/sys/vimage.h#40 (text+ko) ==== @@ -231,13 +231,6 @@ } \ VNET_LIST_UNREF(); -#define VPROCG_ITERLOOP_BEGIN() \ - struct vprocg *vprocg_iter; \ - LIST_FOREACH(vprocg_iter, &vprocg_head, vprocg_le) { \ - -#define VPROCG_ITERLOOP_END() \ - } \ - #else /* !VNET_DEBUG */ #define VNET_ASSERT(condition) @@ -272,6 +265,13 @@ #define INIT_VPROCG(arg) struct vprocg *vprocg = (arg); +#define VPROCG_ITERLOOP_BEGIN() \ + struct vprocg *vprocg_iter; \ + LIST_FOREACH(vprocg_iter, &vprocg_head, vprocg_le) { \ + +#define VPROCG_ITERLOOP_END() \ + } \ + #else /* !VIMAGE */ /* Non-VIMAGE null-macros */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710051302.l95D2DxD006750>