summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/booke/pmap.c
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2012-07-10 22:10:21 +0000
committeralc <alc@FreeBSD.org>2012-07-10 22:10:21 +0000
commit5b008f8136693fa87462d47900326c6f1947426e (patch)
treed599af71602d13b2277c93be1383ad352eba8b82 /sys/powerpc/booke/pmap.c
parent54ed21c8d6e0df837ed572d9b9a41d69fdee4e29 (diff)
downloadFreeBSD-src-5b008f8136693fa87462d47900326c6f1947426e.zip
FreeBSD-src-5b008f8136693fa87462d47900326c6f1947426e.tar.gz
Avoid recursion on the pvh global lock in the aim oea pmap.
Correct the return type of the pmap_ts_referenced() implementations. Reported by: jhibbits [1] Tested by: andreast
Diffstat (limited to 'sys/powerpc/booke/pmap.c')
-rw-r--r--sys/powerpc/booke/pmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/booke/pmap.c b/sys/powerpc/booke/pmap.c
index 8b27e6e..060a7f2 100644
--- a/sys/powerpc/booke/pmap.c
+++ b/sys/powerpc/booke/pmap.c
@@ -286,7 +286,7 @@ static void mmu_booke_init(mmu_t);
static boolean_t mmu_booke_is_modified(mmu_t, vm_page_t);
static boolean_t mmu_booke_is_prefaultable(mmu_t, pmap_t, vm_offset_t);
static boolean_t mmu_booke_is_referenced(mmu_t, vm_page_t);
-static boolean_t mmu_booke_ts_referenced(mmu_t, vm_page_t);
+static int mmu_booke_ts_referenced(mmu_t, vm_page_t);
static vm_offset_t mmu_booke_map(mmu_t, vm_offset_t *, vm_paddr_t, vm_paddr_t,
int);
static int mmu_booke_mincore(mmu_t, pmap_t, vm_offset_t,
OpenPOWER on IntegriCloud