Update of /cvsroot/linux-vax/kernel-2.5/arch/vax/mm
In directory sc8-pr-cvs1:/tmp/cvs-serv12515/arch/vax/mm
Modified Files:
init.c
Log Message:
totalram_pages should not be static. It is also defined as a global
in linux/swap.h. This fixes problems with tmpfs not thinking there
is enough physical RAM for it (because the global totalram_pages is
left at zero).
Index: init.c
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/mm/init.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- init.c 3 Aug 2003 12:07:31 -0000 1.12
+++ init.c 23 Aug 2003 00:14:44 -0000 1.13
@@ -18,8 +18,6 @@
#define VAX_INIT_DEBUG
-static unsigned long totalram_pages;
-
unsigned long empty_zero_page[PAGE_SIZE /
sizeof(unsigned long)]
__attribute__ ((__aligned__(PAGE_SIZE)));
|