Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Aug 2019 03:49:40 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r350623 - head/sys/powerpc/booke
Message-ID:  <201908060349.x763neNw060894@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhibbits
Date: Tue Aug  6 03:49:40 2019
New Revision: 350623
URL: https://svnweb.freebsd.org/changeset/base/350623

Log:
  Fix build from r350622
  
  It helps if my local kernel build has INVARIANTS.

Modified:
  head/sys/powerpc/booke/pmap.c

Modified: head/sys/powerpc/booke/pmap.c
==============================================================================
--- head/sys/powerpc/booke/pmap.c	Tue Aug  6 03:16:06 2019	(r350622)
+++ head/sys/powerpc/booke/pmap.c	Tue Aug  6 03:49:40 2019	(r350623)
@@ -600,7 +600,7 @@ pdir_alloc(mmu_t mmu, pmap_t pmap, unsigned int pp2d_i
 	pte_t          **pdir;
 	int		req;
 
-	KASSERT((pdir[pdir_idx] == NULL),
+	KASSERT((pdir[pp2d_idx] == NULL),
 		("%s: valid pdir entry exists!", __func__));
 
 	req = VM_ALLOC_NOOBJ | VM_ALLOC_WIRED;



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