Date: Mon, 21 Jan 2008 22:47:16 GMT From: Warner Losh <imp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 133822 for review Message-ID: <200801212247.m0LMlGWB020082@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=133822 Change 133822 by imp@imp_paco-paco on 2008/01/21 22:46:38 compile. Affected files ... .. //depot/projects/mips2-jnpr/src/sys/mips/mips/vm_machdep.c#9 edit Differences ... ==== //depot/projects/mips2-jnpr/src/sys/mips/mips/vm_machdep.c#9 (text+ko) ==== @@ -145,10 +145,10 @@ * nothing to do since we're not going to change the physical address * of where we're swapped in at... */ - pte = pmap_segmap(kernel_pmap, (vm_offset_t)td2->td_kstack; + pte = pmap_segmap(kernel_pmap, (vm_offset_t)td2->td_kstack); if (pte == NULL) { - if ((vm_offset_t)td->td_kstack < MIPS_KSEG0_START && - (vm_offset_t)td->td_kstack > MIPS_KSEG0_END) + if ((vm_offset_t)td2->td_kstack < MIPS_KSEG0_START && + (vm_offset_t)td2->td_kstack > MIPS_KSEG0_END) panic("cpu_fork: invalid segmap"); } else { pte += ((vm_offset_t)td2->td_kstack >> PGSHIFT) & (NPTEPG - 1);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801212247.m0LMlGWB020082>