patch-2.4.0-test12 linux/arch/alpha/mm/init.c
Next file: linux/arch/arm/boot/Makefile
Previous file: linux/arch/alpha/lib/stxncpy.S
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Nov 28 22:43:39 2000
- Orig file:
v2.4.0-test11/linux/arch/alpha/mm/init.c
- Orig date:
Tue Oct 31 12:42:25 2000
diff -u --recursive --new-file v2.4.0-test11/linux/arch/alpha/mm/init.c linux/arch/alpha/mm/init.c
@@ -185,7 +185,7 @@
reserved++;
else if (PageSwapCache(mem_map+i))
cached++;
- else if (!atomic_read(&mem_map[i].count))
+ else if (!page_count(mem_map+i))
free++;
else
shared += atomic_read(&mem_map[i].count) - 1;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)