summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2004-08-07 04:31:26 +0000
committeralc <alc@FreeBSD.org>2004-08-07 04:31:26 +0000
commit584ed250aeafee0f765551ff5a5912edfed8e435 (patch)
tree6abded1927dd38a2a3f4c57501c47efab2877f4b /sys
parent9fbed704d53384df13f05c4f0b546851054b6f7b (diff)
downloadFreeBSD-src-584ed250aeafee0f765551ff5a5912edfed8e435.zip
FreeBSD-src-584ed250aeafee0f765551ff5a5912edfed8e435.tar.gz
Eliminate a variable that became unused in the i386 to amd64 conversion.
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/pmap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index f2f367c..f38da2b 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -2265,7 +2265,6 @@ pmap_copy(pmap_t dst_pmap, pmap_t src_pmap, vm_offset_t dst_addr, vm_size_t len,
pml4_entry_t *pml4e;
pdp_entry_t *pdpe;
pd_entry_t srcptepaddr, *pde;
- vm_pindex_t ptepindex;
if (addr >= UPT_MIN_ADDRESS)
panic("pmap_copy: invalid to pmap_copy page tables\n");
@@ -2292,7 +2291,6 @@ pmap_copy(pmap_t dst_pmap, pmap_t src_pmap, vm_offset_t dst_addr, vm_size_t len,
}
va_next = (addr + NBPDR) & ~PDRMASK;
- ptepindex = pmap_pde_pindex(addr);
pde = pmap_pde(src_pmap, addr);
if (pde)
OpenPOWER on IntegriCloud