Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Mar 2012 18:43:44 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r233190 - head/sys/vm
Message-ID:  <201203191843.q2JIhiW8081096@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Mon Mar 19 18:43:44 2012
New Revision: 233190
URL: http://svn.freebsd.org/changeset/base/233190

Log:
  Alter the previous commit to use vm_size_t instead of vm_pindex_t.
  vm_pindex_t is not a count of pages per se, it is more like vm_ooffset_t,
  but a page index instead of a byte offset.

Modified:
  head/sys/vm/vm_phys.c

Modified: head/sys/vm/vm_phys.c
==============================================================================
--- head/sys/vm/vm_phys.c	Mon Mar 19 18:41:43 2012	(r233189)
+++ head/sys/vm/vm_phys.c	Mon Mar 19 18:43:44 2012	(r233190)
@@ -223,7 +223,7 @@ _vm_phys_create_seg(vm_paddr_t start, vm
 {
 	struct vm_phys_seg *seg;
 #ifdef VM_PHYSSEG_SPARSE
-	vm_pindex_t pages;
+	vm_size_t pages;
 	int segind;
 
 	pages = 0;



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