[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r9739 - in /fsf/trunk/libc: ChangeLog sysdeps/mach/getsysstats.c



Author: eglibc
Date: Wed Jan 27 00:02:55 2010
New Revision: 9739

Log:
Import glibc-mainline for 2010-01-27

Modified:
    fsf/trunk/libc/ChangeLog
    fsf/trunk/libc/sysdeps/mach/getsysstats.c

Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Wed Jan 27 00:02:55 2010
@@ -1,3 +1,8 @@
+2010-01-26  Samuel Thibault  <samuel.thibault@xxxxxxxxxxxx>
+
+	* sysdeps/mach/getsysstats.c (get_nprocs_conf, get_nprocs,
+	get_phys_pages, get_avphys_pages): Add weak aliases.
+
 2010-01-25  Andreas Schwab  <schwab@xxxxxxxxxx>
 
 	* iconv/iconv_prog.c (write_output): Fix check for open failure.

Modified: fsf/trunk/libc/sysdeps/mach/getsysstats.c
==============================================================================
--- fsf/trunk/libc/sysdeps/mach/getsysstats.c (original)
+++ fsf/trunk/libc/sysdeps/mach/getsysstats.c Wed Jan 27 00:02:55 2010
@@ -40,6 +40,7 @@
 
   return hbi.max_cpus;
 }
+weak_alias (__get_nprocs_conf, get_nprocs_conf)
 
 /* Return the number of processors currently available on the system. */
 int
@@ -58,6 +59,7 @@
 
   return hbi.avail_cpus;
 }
+weak_alias (__get_nprocs, get_nprocs)
 
 /* Return the number of physical pages on the system. */
 long int
@@ -76,6 +78,7 @@
 
   return hbi.memory_size / __vm_page_size;
 }
+weak_alias (__get_phys_pages, get_phys_pages)
 
 /* Return the number of available physical pages */
 long int
@@ -100,3 +103,4 @@
 
   return vs.free_count;
 }
+weak_alias (__get_avphys_pages, get_avphys_pages)