svn commit: r350623 - head/sys/powerpc/booke

Justin Hibbits jhibbits at FreeBSD.org
Tue Aug 6 03:49:40 UTC 2019


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;


More information about the svn-src-head mailing list