From: Kenn H. <ke...@us...> - 2001-02-05 00:06:00
|
Update of /cvsroot/linux-vax/kernel-2.4/arch/vax/mm In directory usw-pr-cvs1:/tmp/cvs-serv29921/mm Modified Files: init.c Log Message: quicklists definition was missing, remove highmemory crud Index: init.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.4/arch/vax/mm/init.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- init.c 2001/01/29 01:01:32 1.3 +++ init.c 2001/02/05 00:06:11 1.4 @@ -11,13 +11,18 @@ #include <linux/init.h> #include <asm/pgtable.h> +#include <asm/pgalloc.h> #include <asm/rpb.h> static unsigned long totalram_pages; -static unsigned long totalhigh_pages; unsigned long empty_zero_page[PAGE_SIZE/sizeof(unsigned long)] __attribute__ ((__aligned__ (PAGE_SIZE))); +#ifndef CONFIG_SMP +struct pgtable_cache_struct quicklists; +#endif + + /* This is task 0's PGD structure. Entries 4 and 5 will be filled with the system page table base and size by head.S. The remaining @@ -103,8 +108,8 @@ val->sharedram = 0; val->freeram = nr_free_pages(); val->bufferram = atomic_read(&buffermem_pages); - val->totalhigh = totalhigh_pages; - val->freehigh = nr_free_highpages(); + val->totalhigh = 0; + val->freehigh = 0; val->mem_unit = PAGE_SIZE; return; } |