PERFORCE change 128101 for review

Peter Wemm peter at FreeBSD.org
Thu Oct 25 18:04:57 PDT 2007


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

Change 128101 by peter at peter_daintree on 2007/10/26 01:04:03

	Hack to make this compile.

Affected files ...

.. //depot/projects/hammer/sys/i386/i386/pmap.c#96 edit

Differences ...

==== //depot/projects/hammer/sys/i386/i386/pmap.c#96 (text+ko) ====

@@ -3520,11 +3520,13 @@
 }
 
 void
-pmap_activate(struct vmspace *vm)
+pmap_switch_vmspace(struct vmspace *vm)
 {
 	pmap_t	pmap, oldpmap;
+	struct thread *td;
 	u_int32_t  cr3;
 
+	td = curthread;
 	critical_enter();
 	td->td_proc->p_vmspace = vm;
 	pmap = vmspace_pmap(td->td_proc->p_vmspace);


More information about the p4-projects mailing list