Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 2013 20:04:35 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r256166 - head/sys/amd64/amd64
Message-ID:  <201310082004.r98K4ZBo034589@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Tue Oct  8 20:04:35 2013
New Revision: 256166
URL: http://svnweb.freebsd.org/changeset/base/256166

Log:
  In sys/amd64/amd64/pmap.c, fix several gcc warnings about uninitialized
  variables in reclaim_pv_chunk().
  
  Approved by:	re (marius)
  Reviewed by:	neel, kib
  X-MFC-With:	r256072

Modified:
  head/sys/amd64/amd64/pmap.c

Modified: head/sys/amd64/amd64/pmap.c
==============================================================================
--- head/sys/amd64/amd64/pmap.c	Tue Oct  8 19:50:25 2013	(r256165)
+++ head/sys/amd64/amd64/pmap.c	Tue Oct  8 20:04:35 2013	(r256166)
@@ -2705,6 +2705,7 @@ reclaim_pv_chunk(pmap_t locked_pmap, str
 	KASSERT(lockp != NULL, ("reclaim_pv_chunk: lockp is NULL"));
 	pmap = NULL;
 	m_pc = NULL;
+	PG_G = PG_A = PG_M = PG_RW = 0;
 	SLIST_INIT(&free);
 	TAILQ_INIT(&new_tail);
 	mtx_lock(&pv_chunks_mutex);



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