Date: Sun, 19 Mar 2006 02:46:52 GMT From: Kip Macy <kmacy@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 93534 for review Message-ID: <200603190246.k2J2kqXp046599@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=93534 Change 93534 by kmacy@kmacy_storage:sun4vtmp on 2006/03/19 02:46:30 fix signature for pmap_remove_tte Affected files ... .. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/pmap.c#31 edit Differences ... ==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/pmap.c#31 (text+ko) ==== @@ -72,7 +72,7 @@ #include <machine/hypervisor_api.h> -#if 0 +#if 1 #define PMAP_DEBUG #endif #ifndef PMAP_SHPGPERPROC @@ -180,7 +180,7 @@ static void pmap_insert_entry(pmap_t pmap, vm_offset_t va, vm_page_t m); static void pmap_remove_entry(struct pmap *pmap, vm_page_t m, vm_offset_t va); -static int pmap_remove_tte(pmap_t pmap, uint64_t *tte, vm_offset_t va); +static void pmap_remove_tte(pmap_t pmap, uint64_t *tte, vm_offset_t va); /* * Quick sort callout for comparing memory regions. @@ -1388,7 +1388,7 @@ /* disgusting hack to avoid TSB misses on kernel pages * this will need to be fixed some time soon */ - +#if 0 tm = m; tcount = count; @@ -1400,9 +1400,7 @@ va += PAGE_SIZE; tm++; } - - - +#endif } /* @@ -1634,7 +1632,7 @@ size -= bytes_zeroed; } } -static int +static void pmap_remove_tte(pmap_t pmap, uint64_t *tte, vm_offset_t va) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603190246.k2J2kqXp046599>