patch-2.3.9 linux/arch/m68k/mm/init.c

Next file: linux/arch/mips/Makefile
Previous file: linux/arch/i386/mm/init.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.8/linux/arch/m68k/mm/init.c linux/arch/m68k/mm/init.c
@@ -108,7 +108,6 @@
     printk("%d pages shared\n",shared);
     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
@@ -479,7 +478,7 @@
     val->totalram = 0;
     val->sharedram = 0;
     val->freeram = nr_free_pages << PAGE_SHIFT;
-    val->bufferram = buffermem;
+    val->bufferram = atomic_read(&buffermem);
     while (i-- > 0) {
 	if (PageReserved(mem_map+i))
 	    continue;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)