Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2013 07:41:52 +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: r258119 - head/sys/powerpc/aim
Message-ID:  <201311140741.rAE7fqJo009346@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhibbits
Date: Thu Nov 14 07:41:52 2013
New Revision: 258119
URL: http://svnweb.freebsd.org/changeset/base/258119

Log:
  Fix copy+paste-o, OEA64 uses LPTE, not PTE.
  
  X-MFC with:	r257941

Modified:
  head/sys/powerpc/aim/mmu_oea64.c

Modified: head/sys/powerpc/aim/mmu_oea64.c
==============================================================================
--- head/sys/powerpc/aim/mmu_oea64.c	Thu Nov 14 07:27:00 2013	(r258118)
+++ head/sys/powerpc/aim/mmu_oea64.c	Thu Nov 14 07:41:52 2013	(r258119)
@@ -2642,7 +2642,7 @@ moea64_scan_md(mmu_t mmu, struct pmap_md
 				pvo = moea64_pvo_find_va(kernel_pmap,
 				    va & ~ADDR_POFF);
 				if (pvo != NULL &&
-				    (pvo->pvo_pte.pte.pte_hi & PTE_VALID))
+				    (pvo->pvo_pte.lpte.pte_hi & LPTE_VALID))
 					break;
 				va += PAGE_SIZE;
 			}
@@ -2657,7 +2657,7 @@ moea64_scan_md(mmu_t mmu, struct pmap_md
 					pvo = moea64_pvo_find_va(kernel_pmap,
 					    va & ~ADDR_POFF);
 					if (pvo == NULL ||
-					    !(pvo->pvo_pte.pte.pte_hi & PTE_VALID))
+					    !(pvo->pvo_pte.lpte.pte_hi & LPTE_VALID))
 						break;
 					va += PAGE_SIZE;
 				}



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