Date: Sat, 7 Oct 2006 14:51:47 GMT From: Howard Su <howardsu@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 107417 for review Message-ID: <200610071451.k97EplJW013201@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=107417 Change 107417 by howardsu@su_laptop on 2006/10/07 14:51:28 Fix a compile error. Affected files ... .. //depot/projects/dtrace/src/sys/cddl/kern/vmem.c#4 edit Differences ... ==== //depot/projects/dtrace/src/sys/cddl/kern/vmem.c#4 (text+ko) ==== @@ -80,15 +80,15 @@ { struct entry *np, *np_temp, *newnp; LIST_FOREACH_SAFE(np, vmp, entries, np_temp) { - if ((void*)np->end < p) continue; + if ((void*)np->end < vaddr) continue; - if (np->start == (char*)p + 1) { + if (np->start == (char*)vaddr + 1) { np->start--; return; } else { newnp = malloc(sizeof(vmem_t), M_VMEM, M_WAITOK); - newnp->start = newnp->end = p; + newnp->start = newnp->end = vaddr; LIST_INSERT_BEFORE(np, newnp, entries); return; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610071451.k97EplJW013201>