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);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to