Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jan 2008 21:19:05 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 132518 for review
Message-ID:  <200801042119.m04LJ5qs063692@repoman.freebsd.org>

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

Change 132518 by imp@imp_paco-paco on 2008/01/04 21:18:12

	We need the floating page alloc/free routines reguardless.

Affected files ...

.. //depot/projects/mips2-jnpr/src/sys/mips/mips/pmap.c#13 edit

Differences ...

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

@@ -181,9 +181,7 @@
 static int init_pte_prot(vm_offset_t va, vm_page_t m, vm_prot_t prot);
 static void pmap_TLB_invalidate_kernel(vm_offset_t);
 static void pmap_TLB_update_kernel(vm_offset_t, pt_entry_t);
-#ifdef VM_ALLOC_WIRED_TLB_PG_POOL
 static void pmap_init_fpage(void);
-#endif
 #ifdef SMP
 static void pmap_invalidate_page_action(void *arg);
 static void pmap_invalidate_all_action(void *arg);
@@ -338,11 +336,9 @@
 pmap_init(void)
 {
 
-#ifdef VM_ALLOC_WIRED_TLB_PG_POOL
 	if (need_wired_tlb_page_pool) {
 		pmap_init_fpage();
 	}
-#endif
 
 	/*
 	 * Initialize the address space (zone) for the pv entries.  Set a
@@ -685,7 +681,6 @@
 /*
  * Create the floating pages, aka FPAGES!
  */
-#ifdef VM_ALLOC_WIRED_TLB_PG_POOL
 static void
 pmap_init_fpage()
 {
@@ -805,7 +800,6 @@
 	 * Should there be any flush operation at the end?
 	 */
 }
-#endif
 
 /*  Revision 1.507
  *



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