1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00

Give Hurd weak aliases for getsysstats get_* functions.

This commit is contained in:
Samuel Thibault
2010-01-26 17:44:58 -08:00
committed by Roland McGrath
parent 1112095740
commit b34e12e22c
2 changed files with 9 additions and 0 deletions

View File

@@ -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)