diff options
author | jake <jake@FreeBSD.org> | 2003-03-30 01:44:16 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2003-03-30 01:44:16 +0000 |
commit | a5a502558e91ccb0dd4436698739d3c134ba1600 (patch) | |
tree | 24a9a14b22c1d404768a16d6fb58a67db4658639 /sys/amd64/include/pmap.h | |
parent | b88859c2da2181939198145777bde05e1f583403 (diff) | |
download | FreeBSD-src-a5a502558e91ccb0dd4436698739d3c134ba1600.zip FreeBSD-src-a5a502558e91ccb0dd4436698739d3c134ba1600.tar.gz |
- Remove invalid casts.
Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'sys/amd64/include/pmap.h')
-rw-r--r-- | sys/amd64/include/pmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/include/pmap.h b/sys/amd64/include/pmap.h index ad590ed..d7f0f66 100644 --- a/sys/amd64/include/pmap.h +++ b/sys/amd64/include/pmap.h @@ -176,7 +176,7 @@ pmap_kextract(vm_offset_t va) if ((pa = (vm_offset_t) PTD[va >> PDRSHIFT]) & PG_PS) { pa = (pa & ~(NBPDR - 1)) | (va & (NBPDR - 1)); } else { - pa = *(vm_offset_t *)vtopte(va); + pa = *vtopte(va); pa = (pa & PG_FRAME) | (va & PAGE_MASK); } return pa; |