diff options
author | peter <peter@FreeBSD.org> | 1996-05-22 17:07:14 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-05-22 17:07:14 +0000 |
commit | 7a59b55013c5ede2b25108913910ef62554839b9 (patch) | |
tree | 6978246a70272399968a01164c5be9797ef94756 /sys/amd64 | |
parent | 3c5660b06a11bcb2033a9b82f96ed3f6968bfc06 (diff) | |
download | FreeBSD-src-7a59b55013c5ede2b25108913910ef62554839b9.zip FreeBSD-src-7a59b55013c5ede2b25108913910ef62554839b9.tar.gz |
Fix harmless warning.. pmap_nw_modified was not having it's arg
cast to pt_entry_t like the others inside the DIAGNOSTIC code.
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/pmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index a3fe5ba..fd82286 100644 --- a/sys/amd64/amd64/pmap.c +++ b/sys/amd64/amd64/pmap.c @@ -39,7 +39,7 @@ * SUCH DAMAGE. * * from: @(#)pmap.c 7.7 (Berkeley) 5/12/91 - * $Id: pmap.c,v 1.92 1996/05/21 00:39:39 dyson Exp $ + * $Id: pmap.c,v 1.93 1996/05/22 04:17:17 dyson Exp $ */ /* @@ -992,7 +992,7 @@ pmap_remove_pte(pmap, ptq, va) if (oldpte & PG_MANAGED) { if (oldpte & PG_M) { #if defined(PMAP_DIAGNOSTIC) - if (pmap_nw_modified(oldpte)) { + if (pmap_nw_modified((pt_entry_t) oldpte)) { printf("pmap_remove: modified page not writable: va: 0x%lx, pte: 0x%lx\n", va, (int) oldpte); } #endif |