kernel - make vm_add_new_page() static
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 9 Jun 2011 20:34:10 +0000 (13:34 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 9 Jun 2011 20:34:10 +0000 (13:34 -0700)
* Make vm_add_new_page() a static function

sys/vm/vm_page.c
sys/vm/vm_page.h

index 174cfe7..91527c6 100644 (file)
@@ -164,7 +164,7 @@ vm_set_page_size(void)
  *
  * Must be called in a critical section.
  */
-vm_page_t
+static vm_page_t
 vm_add_new_page(vm_paddr_t pa)
 {
        struct vpgqueues *vpq;
index 8da44a3..479d4ec 100644 (file)
@@ -509,7 +509,6 @@ vm_page_t vm_page_lookup (struct vm_object *, vm_pindex_t);
 void vm_page_remove (vm_page_t);
 void vm_page_rename (vm_page_t, struct vm_object *, vm_pindex_t);
 void vm_page_startup (void);
-vm_page_t vm_add_new_page (vm_paddr_t pa);
 void vm_page_unmanage (vm_page_t);
 void vm_page_unwire (vm_page_t, int);
 void vm_page_wire (vm_page_t);