PERFORCE change 132518 for review

Warner Losh imp at FreeBSD.org
Fri Jan 4 13:19:06 PST 2008


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

Change 132518 by imp at 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
  *


More information about the p4-projects mailing list