Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Nov 2007 20:20:16 GMT
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 128699 for review
Message-ID:  <200711052020.lA5KKG9h020677@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=128699

Change 128699 by gonzo@gonzo_jeeves on 2007/11/05 20:19:18

	o pmap_pinit now returns int, also s/struct pmap \*/pmap_t/

Affected files ...

.. //depot/projects/mips2/src/sys/mips/mips/pmap.c#28 edit

Differences ...

==== //depot/projects/mips2/src/sys/mips/mips/pmap.c#28 (text+ko) ====

@@ -763,9 +763,8 @@
  * Initialize a preallocated and zeroed pmap structure,
  * such as one in a vmspace structure.
  */
-void
-pmap_pinit(pmap)
-	register struct pmap *pmap;
+int
+pmap_pinit(pmap_t pmap)
 {
 	vm_page_t lev1pg;
 
@@ -799,6 +798,8 @@
 	mtx_lock_spin(&allpmaps_lock);
 	LIST_INSERT_HEAD(&allpmaps, pmap, pm_list);
 	mtx_unlock_spin(&allpmaps_lock);
+
+	return (1);
 }
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711052020.lA5KKG9h020677>