Author: sthibault
Date: 2010-01-26 10:17:12 +0000 (Tue, 26 Jan 2010)
New Revision: 4105

Added:
   glibc-package/trunk/debian/patches/hurd-i386/submitted-getnprocs.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
patches/hurd-i386/submitted-getnprocs.diff: New patch to add get_nprocs() and 
such weak aliases.


Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog        2010-01-25 16:27:31 UTC (rev 
4104)
+++ glibc-package/trunk/debian/changelog        2010-01-26 10:17:12 UTC (rev 
4105)
@@ -21,6 +21,8 @@
   * patches/hurd-i386/submitted-sysvshm.diff: Resync.
   * patches/hurd-i386/submitted-net.diff: New patch to factorize net/ files
     between Linux and Hurd.
+  * patches/hurd-i386/submitted-getnprocs.diff: New patch to add get_nprocs()
+    and such weak aliases.
 
  -- Aurelien Jarno <aure...@debian.org>  Sat, 23 Jan 2010 18:27:05 +0100
 

Added: glibc-package/trunk/debian/patches/hurd-i386/submitted-getnprocs.diff
===================================================================
--- glibc-package/trunk/debian/patches/hurd-i386/submitted-getnprocs.diff       
                        (rev 0)
+++ glibc-package/trunk/debian/patches/hurd-i386/submitted-getnprocs.diff       
2010-01-26 10:17:12 UTC (rev 4105)
@@ -0,0 +1,42 @@
+2010-01-26  Samuel Thibault  <samuel.thiba...@ens-lyon.org>
+
+       * sysdeps/mach/getsysstats.c (get_nprocs_conf, get_nprocs,
+       get_phys_pages, get_avphys_pages): Add weak aliases.
+
+---
+ getsysstats.c |    4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/sysdeps/mach/getsysstats.c b/sysdeps/mach/getsysstats.c
+index d2bebb6..a7e0804 100644
+--- a/sysdeps/mach/getsysstats.c
++++ b/sysdeps/mach/getsysstats.c
+@@ -40,6 +40,7 @@ __get_nprocs_conf ()
+ 
+   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 @@ __get_nprocs ()
+ 
+   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 @@ __get_phys_pages ()
+ 
+   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 @@ __get_avphys_pages ()
+ 
+   return vs.free_count;
+ }
++weak_alias (__get_avphys_pages, get_avphys_pages)

Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series   2010-01-25 16:27:31 UTC (rev 
4104)
+++ glibc-package/trunk/debian/patches/series   2010-01-26 10:17:12 UTC (rev 
4105)
@@ -114,6 +114,7 @@
 hurd-i386/cvs-getcwd.diff
 hurd-i386/cvs-setsid.diff
 hurd-i386/submitted-net.diff
+hurd-i386/submitted-getnprocs.diff
 
 ia64/submitted-sysconf.diff
 ia64/submitted-libm.diff


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to