svn commit: r261921 - head/sys/arm/arm

Zbigniew Bodek zbb at FreeBSD.org
Sat Feb 15 13:24:58 UTC 2014


Author: zbb
Date: Sat Feb 15 13:24:58 2014
New Revision: 261921
URL: http://svnweb.freebsd.org/changeset/base/261921

Log:
  Remove spurious assertion from pmap_extract_locked() on ARM
  
  The condition under assertion is no longer valid since
  superpages support is operating on section mappings.

Modified:
  head/sys/arm/arm/pmap-v6.c

Modified: head/sys/arm/arm/pmap-v6.c
==============================================================================
--- head/sys/arm/arm/pmap-v6.c	Sat Feb 15 13:22:37 2014	(r261920)
+++ head/sys/arm/arm/pmap-v6.c	Sat Feb 15 13:24:58 2014	(r261921)
@@ -3328,10 +3328,6 @@ pmap_extract_locked(pmap_t pmap, vm_offs
 	l1idx = L1_IDX(va);
 	l1pd = pmap->pm_l1->l1_kva[l1idx];
 	if (l1pte_section_p(l1pd)) {
-		/*
-		 * These should only happen for the kernel pmap.
-		 */
-		KASSERT(pmap == kernel_pmap, ("unexpected section"));
 		/* XXX: what to do about the bits > 32 ? */
 		if (l1pd & L1_S_SUPERSEC)
 			pa = (l1pd & L1_SUP_FRAME) | (va & L1_SUP_OFFSET);


More information about the svn-src-all mailing list