Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Apr 2012 20:34:01 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r233960 - head/sys/vm
Message-ID:  <201204062034.q36KY1JE025096@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: attilio
Date: Fri Apr  6 20:34:00 2012
New Revision: 233960
URL: http://svn.freebsd.org/changeset/base/233960

Log:
  Staticize vm_page_cache_remove().
  
  Reviewed by:	alc

Modified:
  head/sys/vm/vm_page.c
  head/sys/vm/vm_page.h

Modified: head/sys/vm/vm_page.c
==============================================================================
--- head/sys/vm/vm_page.c	Fri Apr  6 19:59:37 2012	(r233959)
+++ head/sys/vm/vm_page.c	Fri Apr  6 20:34:00 2012	(r233960)
@@ -1181,7 +1181,7 @@ vm_page_cache_lookup(vm_object_t object,
  *
  *	The free page queue must be locked.
  */
-void
+static void
 vm_page_cache_remove(vm_page_t m)
 {
 	vm_object_t object;

Modified: head/sys/vm/vm_page.h
==============================================================================
--- head/sys/vm/vm_page.h	Fri Apr  6 19:59:37 2012	(r233959)
+++ head/sys/vm/vm_page.h	Fri Apr  6 20:34:00 2012	(r233960)
@@ -384,7 +384,6 @@ vm_page_t vm_page_alloc_freelist(int, in
 vm_page_t vm_page_grab (vm_object_t, vm_pindex_t, int);
 void vm_page_cache(vm_page_t);
 void vm_page_cache_free(vm_object_t, vm_pindex_t, vm_pindex_t);
-void vm_page_cache_remove(vm_page_t);
 void vm_page_cache_transfer(vm_object_t, vm_pindex_t, vm_object_t);
 int vm_page_try_to_cache (vm_page_t);
 int vm_page_try_to_free (vm_page_t);



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