patch-2.4.23 linux-2.4.23/arch/sparc64/kernel/sys_sunos32.c

Next file: linux-2.4.23/arch/sparc64/kernel/time.c
Previous file: linux-2.4.23/arch/sparc64/kernel/sys_sparc32.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/arch/sparc64/kernel/sys_sunos32.c linux-2.4.23/arch/sparc64/kernel/sys_sunos32.c
@@ -157,7 +157,7 @@
 	 * fool it, but this should catch most mistakes.
 	 */
 	freepages = atomic_read(&buffermem_pages) >> PAGE_SHIFT;
-	freepages += atomic_read(&page_cache_size);
+	freepages += page_cache_size;
 	freepages >>= 1;
 	freepages += nr_free_pages();
 	freepages += nr_swap_pages;

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