Commit Graph

4 Commits

Author SHA1 Message Date
Ulrich Drepper 36dffb2256 * posix/sched_cpucount.c (__sched_cpucount): Allow using special
instruction for counting bits.
	* sysdeps/x86_64/sched_cpucount.c: New file.
2007-06-08 19:23:19 +00:00
Ulrich Drepper 7d0e41cebe (__sched_cpucount): Allow using special instruction for counting bits. 2007-06-08 18:29:24 +00:00
Ulrich Drepper b4afdd0651 * bits/sched.h: Define __CPU_COUNT. Declare __sched_cpucount.
* sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
	* posix/sched.h: Define CPU_COUNT.
2007-04-04 18:51:36 +00:00
Ulrich Drepper eab1bdfb8e * posix/Makefile (routines): Add sched_cpucount.
(tests): Add tst-cpucount.
	* posix/sched_cpucount.c: New file.
	* posix/tst-cpucount.c: New file.
	* posix/Versions: Export __sched_cpucount with version GLIBC_2.6.
2007-04-03 23:29:18 +00:00