Date: Sun, 22 Aug 2010 19:06:21 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r211635 - user/nwhitehorn/ps3/powerpc/aim Message-ID: <201008221906.o7MJ6LZa012134@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008221906.o7MJ6LZa012134>