proc.h: New.
authorUros Bizjak <ubizjak@gmail.com>
Wed, 3 Aug 2011 10:46:04 +0000 (12:46 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Wed, 3 Aug 2011 10:46:04 +0000 (12:46 +0200)
commite0b23d9fd37bfef08ad71836438ba88446ecb5b7
tree0e7d2a27bf466c8bf3dea438e99068bf00c01d1c
parente280f98126fb6f0df2d7d980615b97bc4d540e5e
proc.h: New.

* config/linux/proc.h: New.
* config/linux/proc.c: Include "proc.h".  Do not include <sched.h>.
(gomp_cpuset_popcount): Rename from cpuset_popcount.  No more static.
(gomp_init_num_threads): Update call to cpuset_popcount.
(get_num_procs): Ditto.
* config/linux/affinity.c (gomp_init_affinity): Call
gomp_cpuset_popcount.

From-SVN: r177265
libgomp/ChangeLog
libgomp/config/linux/affinity.c
libgomp/config/linux/proc.c
libgomp/config/linux/proc.h [new file with mode: 0644]