From owner-svn-src-all@FreeBSD.ORG Mon Jul 13 18:12:00 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01C2E1065677; Mon, 13 Jul 2009 18:12:00 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E427C8FC21; Mon, 13 Jul 2009 18:11:59 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n6DIBxmJ032071; Mon, 13 Jul 2009 18:11:59 GMT (envelope-from alc@svn.freebsd.org) Received: (from alc@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n6DIBxjn032069; Mon, 13 Jul 2009 18:11:59 GMT (envelope-from alc@svn.freebsd.org) Message-Id: <200907131811.n6DIBxjn032069@svn.freebsd.org> From: Alan Cox Date: Mon, 13 Jul 2009 18:11:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r195660 - head/sys/sun4v/sun4v X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2009 18:12:00 -0000 Author: alc Date: Mon Jul 13 18:11:59 2009 New Revision: 195660 URL: http://svn.freebsd.org/changeset/base/195660 Log: Correct an error of omission in r195649 ("Add support to the virtual memory system for configuring machine-dependent memory attributes: ..."). In r195649, the "vm_cache_mode_t/vm_memattr_t" parameter was removed from vm_phys_alloc_contig(). Approved by: re (kensmith) Modified: head/sys/sun4v/sun4v/pmap.c Modified: head/sys/sun4v/sun4v/pmap.c ============================================================================== --- head/sys/sun4v/sun4v/pmap.c Mon Jul 13 18:01:49 2009 (r195659) +++ head/sys/sun4v/sun4v/pmap.c Mon Jul 13 18:11:59 2009 (r195660) @@ -1297,8 +1297,7 @@ pmap_alloc_zeroed_contig_pages(int npage while (m == NULL) { for (i = 0; phys_avail[i + 1] != 0; i += 2) { m = vm_phys_alloc_contig(npages, phys_avail[i], - phys_avail[i + 1], alignment, (1UL<<34), - VM_CACHE_DEFAULT); + phys_avail[i + 1], alignment, (1UL<<34)); if (m) goto found; }