From bf5a327d5e08f39babebb731000e6de0fa602baa Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sun, 11 Apr 2004 05:08:26 +0000 Subject: [PATCH] Remove avail_end. It is not used. --- sys/alpha/alpha/pmap.c | 4 ---- sys/alpha/include/pmap.h | 1 - 2 files changed, 5 deletions(-) diff --git a/sys/alpha/alpha/pmap.c b/sys/alpha/alpha/pmap.c index 341ac3a5a78..11571cb8305 100644 --- a/sys/alpha/alpha/pmap.c +++ b/sys/alpha/alpha/pmap.c @@ -301,7 +301,6 @@ vm_size_t Lev2mapsize, Lev3mapsize; */ struct pmap kernel_pmap_store; -vm_offset_t avail_end; /* PA of last available physical page */ vm_offset_t virtual_avail; /* VA of first avail page (after kernel bss) */ vm_offset_t virtual_end; /* VA of last avail page (end of kernel AS) */ static boolean_t pmap_initialized = FALSE; /* Has pmap_init completed? */ @@ -511,9 +510,6 @@ pmap_bootstrap(vm_offset_t ptaddr, u_int maxasn) Lev2map[i] = newpte; } - for (i = 0; phys_avail[i+2]; i+= 2) ; - avail_end = phys_avail[i+1]; - virtual_avail = VM_MIN_KERNEL_ADDRESS; virtual_end = VPTBASE; diff --git a/sys/alpha/include/pmap.h b/sys/alpha/include/pmap.h index 51b813cde8e..04a23a19147 100644 --- a/sys/alpha/include/pmap.h +++ b/sys/alpha/include/pmap.h @@ -204,7 +204,6 @@ typedef struct pv_entry { #ifdef _KERNEL -extern vm_offset_t avail_end; extern vm_offset_t phys_avail[]; extern vm_offset_t virtual_avail; extern vm_offset_t virtual_end;