diff options
author | alc <alc@FreeBSD.org> | 2004-04-11 06:02:24 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2004-04-11 06:02:24 +0000 |
commit | 0f6d9cd13e406c8f6a0d8a3b06e847147886d6e9 (patch) | |
tree | 9a1205fba722c62a011c83ca548bab8f005f523b /sys/sparc64 | |
parent | e768e0d54f96ff401447c2949c417f61eb6e7301 (diff) | |
download | FreeBSD-src-0f6d9cd13e406c8f6a0d8a3b06e847147886d6e9.zip FreeBSD-src-0f6d9cd13e406c8f6a0d8a3b06e847147886d6e9.tar.gz |
Remove avail_end. It is not used.
Diffstat (limited to 'sys/sparc64')
-rw-r--r-- | sys/sparc64/include/pmap.h | 1 | ||||
-rw-r--r-- | sys/sparc64/sparc64/pmap.c | 8 |
2 files changed, 1 insertions, 8 deletions
diff --git a/sys/sparc64/include/pmap.h b/sys/sparc64/include/pmap.h index de7cad6..8164f3a 100644 --- a/sys/sparc64/include/pmap.h +++ b/sys/sparc64/include/pmap.h @@ -86,7 +86,6 @@ void pmap_clear_write(vm_page_t m); #define vtophys(va) pmap_kextract(((vm_offset_t)(va))) -extern vm_paddr_t avail_end; extern struct pmap kernel_pmap_store; #define kernel_pmap (&kernel_pmap_store) extern vm_paddr_t phys_avail[]; diff --git a/sys/sparc64/sparc64/pmap.c b/sys/sparc64/sparc64/pmap.c index 69a347e..bbfed38 100644 --- a/sys/sparc64/sparc64/pmap.c +++ b/sys/sparc64/sparc64/pmap.c @@ -114,11 +114,6 @@ struct msgbuf *msgbufp; vm_paddr_t msgbuf_phys; -/* - * Physical address of the last available physical page. - */ -vm_paddr_t avail_end; - int pmap_pagedaemon_waken; /* @@ -437,8 +432,7 @@ pmap_bootstrap(vm_offset_t ekva) */ for (i = 0; phys_avail[i + 2] != 0; i += 2) ; - avail_end = phys_avail[i + 1]; - Maxmem = sparc64_btop(avail_end); + Maxmem = sparc64_btop(phys_avail[i + 1]); /* * Add the prom mappings to the kernel tsb. |