patch-1.3.29 linux/fs/proc/array.c

Next file: linux/fs/proc/link.c
Previous file: linux/fs/buffer.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.28/linux/fs/proc/array.c linux/fs/proc/array.c
@@ -512,7 +512,7 @@
 			++*dirty;
 		if (pte_page(page) >= high_memory)
 			continue;
-		if (mem_map[MAP_NR(pte_page(page))] > 1)
+		if (mem_map[MAP_NR(pte_page(page))].count > 1)
 			++*shared;
 	} while (address < end);
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this