PERFORCE change 127227 for review

Marko Zec zec at FreeBSD.org
Fri Oct 5 06:02:20 PDT 2007


http://perforce.freebsd.org/chv.cgi?CH=127227

Change 127227 by zec at 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 */


More information about the p4-projects mailing list