summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2003-04-25 15:07:58 +0000
committerjake <jake@FreeBSD.org>2003-04-25 15:07:58 +0000
commitef38f814c4b3f5fcd82be57cf0eb8c318a36ff4e (patch)
tree6152980c434551ef8d573e569eb22999bf3480e1 /sys/i386
parent2998836573f821bf517495e418bb0156449beed9 (diff)
downloadFreeBSD-src-ef38f814c4b3f5fcd82be57cf0eb8c318a36ff4e.zip
FreeBSD-src-ef38f814c4b3f5fcd82be57cf0eb8c318a36ff4e.tar.gz
Remove harmless invalid cast.
Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/i386/pmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c
index 9335a31..0690fdf 100644
--- a/sys/i386/i386/pmap.c
+++ b/sys/i386/i386/pmap.c
@@ -1452,7 +1452,7 @@ pmap_allocpte(pmap_t pmap, vm_offset_t va)
/*
* Get the page directory entry
*/
- ptepa = (vm_offset_t) pmap->pm_pdir[ptepindex];
+ ptepa = pmap->pm_pdir[ptepindex];
/*
* This supports switching from a 4MB page to a
OpenPOWER on IntegriCloud