Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/nathanw_sa]: src/sys/arch/i386/i386 p => l->l_proc in pmap_deactivate().



details:   https://anonhg.NetBSD.org/src/rev/fcd41f746ef5
branches:  nathanw_sa
changeset: 506363:fcd41f746ef5
user:      nathanw <nathanw%NetBSD.org@localhost>
date:      Fri Oct 18 04:08:34 2002 +0000

description:
p => l->l_proc in pmap_deactivate().

diffstat:

 sys/arch/i386/i386/pmap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 20461cef42da -r fcd41f746ef5 sys/arch/i386/i386/pmap.c
--- a/sys/arch/i386/i386/pmap.c Fri Oct 18 04:07:45 2002 +0000
+++ b/sys/arch/i386/i386/pmap.c Fri Oct 18 04:08:34 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.118.2.11 2002/10/18 02:37:47 nathanw Exp $  */
+/*     $NetBSD: pmap.c,v 1.118.2.12 2002/10/18 04:08:34 nathanw Exp $  */
 
 /*
  *
@@ -60,7 +60,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.118.2.11 2002/10/18 02:37:47 nathanw Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.118.2.12 2002/10/18 04:08:34 nathanw Exp $");
 
 #include "opt_cputype.h"
 #include "opt_user_ldt.h"
@@ -1910,7 +1910,7 @@
 pmap_deactivate(l)
        struct lwp *l;
 {
-       struct pmap *pmap = p->p_vmspace->vm_map.pmap;
+       struct pmap *pmap = l->l_proc->p_vmspace->vm_map.pmap;
 
        /*
         * mark the pmap no longer in use by this processor.



Home | Main Index | Thread Index | Old Index