Correct cast type on mips3_MachHitFlushDCache().
This commit is contained in:
parent
1ed84205a8
commit
63b4439556
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pmap.c,v 1.23 1997/06/20 04:34:38 jonathan Exp $ */
|
||||
/* $NetBSD: pmap.c,v 1.24 1997/06/20 07:35:03 jonathan Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -475,7 +475,8 @@ pmap_release(pmap)
|
|||
#ifdef MIPS3
|
||||
if (CPUISMIPS3) {
|
||||
/* XXX why flush page full of freed PTEs? */
|
||||
mips3_HitFlushDCache((caddr_t)pte, PAGE_SIZE);
|
||||
mips3_HitFlushDCache(
|
||||
(vm_offset_t)pte, PAGE_SIZE);
|
||||
vm_page_free1(
|
||||
PHYS_TO_VM_PAGE(MACH_CACHED_TO_PHYS(pte)));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue