patch-2.4.23 linux-2.4.23/arch/sparc/kernel/sys_sunos.c
Next file: linux-2.4.23/arch/sparc/lib/checksum.S
Previous file: linux-2.4.23/arch/sparc/kernel/sun4d_smp.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2003-11-28 10:26:19.000000000 -0800
- Orig file:
linux-2.4.22/arch/sparc/kernel/sys_sunos.c
- Orig date:
2002-11-28 15:53:12.000000000 -0800
diff -urN linux-2.4.22/arch/sparc/kernel/sys_sunos.c linux-2.4.23/arch/sparc/kernel/sys_sunos.c
@@ -193,7 +193,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)