patch-2.3.43 linux/arch/i386/mm/init.c
Next file: linux/arch/ia64/Makefile
Previous file: linux/arch/i386/kernel/traps.c
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
Wed Feb 9 20:08:09 2000
- Orig file:
v2.3.42/linux/arch/i386/mm/init.c
- Orig date:
Fri Jan 28 15:09:07 2000
diff -u --recursive --new-file v2.3.42/linux/arch/i386/mm/init.c linux/arch/i386/mm/init.c
@@ -40,8 +40,6 @@
static unsigned long totalram_pages = 0;
static unsigned long totalhigh_pages = 0;
-extern void show_net_buffers(void);
-
/*
* BAD_PAGE is the page that is used for page faults when linux
* is out-of-memory. Older versions of linux just did a
@@ -228,9 +226,6 @@
printk("%d pages swap cached\n",cached);
printk("%ld pages in page table cache\n",pgtable_cache_size);
show_buffers();
-#ifdef CONFIG_NET
- show_net_buffers();
-#endif
}
/* References to section boundaries */
@@ -448,7 +443,7 @@
kmap_init();
#endif
{
- unsigned int zones_size[MAX_NR_ZONES] = {0, 0, 0};
+ unsigned long zones_size[MAX_NR_ZONES] = {0, 0, 0};
unsigned int max_dma, high, low;
max_dma = virt_to_phys((char *)MAX_DMA_ADDRESS) >> PAGE_SHIFT;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)