Remove avail_end. It is not used.
This commit is contained in:
parent
0058102b2d
commit
c0eca85c29
@ -198,11 +198,6 @@ int pmap_bootstrapped = 0;
|
||||
struct msgbuf *msgbufp;
|
||||
vm_offset_t msgbuf_phys;
|
||||
|
||||
/*
|
||||
* Physical address of the last available physical page.
|
||||
*/
|
||||
vm_offset_t avail_end;
|
||||
|
||||
int pmap_pagedaemon_waken;
|
||||
|
||||
/*
|
||||
@ -776,8 +771,7 @@ pmap_bootstrap(vm_offset_t kernelstart, vm_offset_t kernelend)
|
||||
*/
|
||||
for (i = 0; phys_avail[i + 2] != 0; i += 2)
|
||||
;
|
||||
avail_end = phys_avail[i + 1];
|
||||
Maxmem = powerpc_btop(avail_end);
|
||||
Maxmem = powerpc_btop(phys_avail[i + 1]);
|
||||
|
||||
/*
|
||||
* Allocate virtual address space for the message buffer.
|
||||
|
@ -83,7 +83,6 @@ int pmap_pte_spill(vm_offset_t);
|
||||
|
||||
#define vtophys(va) pmap_kextract(((vm_offset_t)(va)))
|
||||
|
||||
extern vm_offset_t avail_end;
|
||||
extern vm_offset_t phys_avail[];
|
||||
extern vm_offset_t virtual_avail;
|
||||
extern vm_offset_t virtual_end;
|
||||
|
@ -198,11 +198,6 @@ int pmap_bootstrapped = 0;
|
||||
struct msgbuf *msgbufp;
|
||||
vm_offset_t msgbuf_phys;
|
||||
|
||||
/*
|
||||
* Physical address of the last available physical page.
|
||||
*/
|
||||
vm_offset_t avail_end;
|
||||
|
||||
int pmap_pagedaemon_waken;
|
||||
|
||||
/*
|
||||
@ -776,8 +771,7 @@ pmap_bootstrap(vm_offset_t kernelstart, vm_offset_t kernelend)
|
||||
*/
|
||||
for (i = 0; phys_avail[i + 2] != 0; i += 2)
|
||||
;
|
||||
avail_end = phys_avail[i + 1];
|
||||
Maxmem = powerpc_btop(avail_end);
|
||||
Maxmem = powerpc_btop(phys_avail[i + 1]);
|
||||
|
||||
/*
|
||||
* Allocate virtual address space for the message buffer.
|
||||
|
@ -198,11 +198,6 @@ int pmap_bootstrapped = 0;
|
||||
struct msgbuf *msgbufp;
|
||||
vm_offset_t msgbuf_phys;
|
||||
|
||||
/*
|
||||
* Physical address of the last available physical page.
|
||||
*/
|
||||
vm_offset_t avail_end;
|
||||
|
||||
int pmap_pagedaemon_waken;
|
||||
|
||||
/*
|
||||
@ -776,8 +771,7 @@ pmap_bootstrap(vm_offset_t kernelstart, vm_offset_t kernelend)
|
||||
*/
|
||||
for (i = 0; phys_avail[i + 2] != 0; i += 2)
|
||||
;
|
||||
avail_end = phys_avail[i + 1];
|
||||
Maxmem = powerpc_btop(avail_end);
|
||||
Maxmem = powerpc_btop(phys_avail[i + 1]);
|
||||
|
||||
/*
|
||||
* Allocate virtual address space for the message buffer.
|
||||
|
@ -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[];
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user