Date: Mon, 27 Apr 2009 08:33:03 GMT From: Marko Zec <zec@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 161165 for review Message-ID: <200904270833.n3R8X3X2043885@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=161165 Change 161165 by zec@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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904270833.n3R8X3X2043885>