PERFORCE change 161165 for review

Marko Zec zec at FreeBSD.org
Mon Apr 27 08:33:05 UTC 2009


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

Change 161165 by zec at zec_amdx2 on 2009/04/27 08:33:00

	Further reduce diff against head.

Affected files ...

.. //depot/projects/vimage/src/sys/kern/kern_vimage.c#84 edit

Differences ...

==== //depot/projects/vimage/src/sys/kern/kern_vimage.c#84 (text+ko) ====

@@ -254,8 +254,10 @@
 	printf(": ");
 	if (vmi->vmi_idetach != NULL)
 		printf("idetach(); ");
+#ifdef VIMAGE
 	if (vmi->vmi_size)
 		printf("free()");
+#endif
 	printf("\n");
 #endif
 
@@ -287,12 +289,10 @@
 	struct vnet_symmap *mapentry;
 
 	TAILQ_FOREACH(vml, &vnet_modlink_head, vml_mod_le) {
-
 		if (vml->vml_modinfo->vmi_symmap == NULL)
 			continue;
-
 		for (mapentry = vml->vml_modinfo->vmi_symmap;
-		     mapentry->name != NULL; mapentry++) {
+		    mapentry->name != NULL; mapentry++) {
 			if (strcmp(symstr, mapentry->name) == 0) {
 #ifdef VIMAGE
 				lookup->symvalue =
@@ -849,7 +849,6 @@
 vi_init(void *unused)
 {
 
-	/* vnet module list is both forward and reverse traversable */
 	TAILQ_INIT(&vnet_modlink_head);
 	TAILQ_INIT(&vnet_modpending_head);
 


More information about the p4-projects mailing list