svn commit: r211635 - user/nwhitehorn/ps3/powerpc/aim
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Sun Aug 22 19:06:21 UTC 2010
Author: nwhitehorn
Date: Sun Aug 22 19:06:20 2010
New Revision: 211635
URL: http://svn.freebsd.org/changeset/base/211635
Log:
Fix one instance where a non-hypervisor page table routine was being
called unconditionally.
Modified:
user/nwhitehorn/ps3/powerpc/aim/mmu_oea64.c
Modified: user/nwhitehorn/ps3/powerpc/aim/mmu_oea64.c
==============================================================================
--- user/nwhitehorn/ps3/powerpc/aim/mmu_oea64.c Sun Aug 22 16:53:28 2010 (r211634)
+++ user/nwhitehorn/ps3/powerpc/aim/mmu_oea64.c Sun Aug 22 19:06:20 2010 (r211635)
@@ -2881,7 +2881,10 @@ moea64_query_bit(vm_page_t m, u_int64_t
* ptebit is set, cache it and return success.
*/
LOCK_TABLE();
- pt = moea64_pvo_to_pte_native(pvo);
+ if (moea64_pvo_to_pte_hook)
+ pt = moea64_pvo_to_pte_hook(pvo);
+ else
+ pt = moea64_pvo_to_pte_native(pvo);
if (pt != NULL) {
if (moea64_pte_synch_hook != NULL)
moea64_pte_synch_hook(pt, &pvo->pvo_pte.lpte);
More information about the svn-src-user
mailing list