diff options
author | alc <alc@FreeBSD.org> | 2004-06-19 19:09:08 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2004-06-19 19:09:08 +0000 |
commit | 72c4b0bd2fa6b0b3c121b8dce3709bdb809c35e3 (patch) | |
tree | 4d7dbfbe55b4e83ef04236e44b7f03a2da642b83 /sys/amd64 | |
parent | afcd053aa6c77ba58a80b619a64351881961484a (diff) | |
download | FreeBSD-src-72c4b0bd2fa6b0b3c121b8dce3709bdb809c35e3.zip FreeBSD-src-72c4b0bd2fa6b0b3c121b8dce3709bdb809c35e3.tar.gz |
Remove unused pt_entry_ts. Remove an unneeded semicolon.
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/pmap.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index 9e374c7..62a91a6 100644 --- a/sys/amd64/amd64/pmap.c +++ b/sys/amd64/amd64/pmap.c @@ -196,13 +196,11 @@ int pmap_pagedaemon_waken; */ pt_entry_t *CMAP1 = 0; caddr_t CADDR1 = 0; -static pt_entry_t *msgbufmap; struct msgbuf *msgbufp = 0; /* * Crashdump maps. */ -static pt_entry_t *pt_crashdumpmap; static caddr_t crashdumpmap; static PMAP_INLINE void free_pv_entry(pv_entry_t pv); @@ -441,7 +439,7 @@ pmap_bootstrap(firstaddr) vm_paddr_t *firstaddr; { vm_offset_t va; - pt_entry_t *pte; + pt_entry_t *pte, *unused; avail_start = *firstaddr; @@ -493,14 +491,12 @@ pmap_bootstrap(firstaddr) /* * Crashdump maps. */ - SYSMAP(caddr_t, pt_crashdumpmap, crashdumpmap, MAXDUMPPGS); + SYSMAP(caddr_t, unused, crashdumpmap, MAXDUMPPGS) /* * msgbufp is used to map the system message buffer. - * XXX msgbufmap is not used. */ - SYSMAP(struct msgbuf *, msgbufmap, msgbufp, - atop(round_page(MSGBUF_SIZE))) + SYSMAP(struct msgbuf *, unused, msgbufp, atop(round_page(MSGBUF_SIZE))) virtual_avail = va; |