kernel -- vm: Mark vm_contig_pg_free and vm_contig_pg_kmap static.
authorVenkatesh Srinivas <me@endeavour.zapto.org>
Thu, 9 Jun 2011 19:41:41 +0000 (12:41 -0700)
committerVenkatesh Srinivas <me@endeavour.zapto.org>
Thu, 9 Jun 2011 19:41:41 +0000 (12:41 -0700)
sys/vm/vm_contig.c
sys/vm/vm_page.h

index 7c0350a..f077a12 100644 (file)
@@ -379,7 +379,7 @@ again:
  * Caller must ensure no races on the page range in question.
  * No other requirements.
  */
-void
+static void
 vm_contig_pg_free(int start, u_long size)
 {
        vm_page_t pga = vm_page_array;
@@ -408,7 +408,7 @@ vm_contig_pg_free(int start, u_long size)
  *
  * No requirements.
  */
-vm_offset_t
+static vm_offset_t
 vm_contig_pg_kmap(int start, u_long size, vm_map_t map, int flags)
 {
        vm_offset_t addr, tmp_addr;
index a6f7db1..8da44a3 100644 (file)
@@ -528,8 +528,6 @@ vm_page_t vm_page_list_find(int basequeue, int index, boolean_t prefer_zero);
 void vm_page_zero_invalid(vm_page_t m, boolean_t setvalid);
 void vm_page_free_toq(vm_page_t m);
 vm_page_t vm_page_free_fromq_fast(void);
-vm_offset_t vm_contig_pg_kmap(int, u_long, vm_map_t, int);
-void vm_contig_pg_free(int, u_long);
 void vm_page_event_internal(vm_page_t, vm_page_event_t);
 void vm_page_dirty(vm_page_t m);
 void vm_page_register_action(vm_page_action_t action, vm_page_event_t event);