OSDN Git Service

PR libgomp/43706
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Apr 2010 15:37:51 +0000 (15:37 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Apr 2010 15:37:51 +0000 (15:37 +0000)
commit3fef88f8e3dfa5d7e3b8bc3bc0f540d7b84eaa7b
treef290c50df00f07577021b710e347cd10c8be0b82
parentc3e85a5791bb5b6a4afb9748029b9f804666d0b2
PR libgomp/43706
* config/linux/affinity.c (gomp_init_affinity): Decrease
gomp_available_cpus if affinity mask confines the process to fewer
CPUs.
* config/linux/proc.c (get_num_procs): If gomp_cpu_affinity is
non-NULL, just return gomp_available_cpus.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158565 138bc75d-0d04-0410-961f-82ee72b054a4
libgomp/ChangeLog
libgomp/config/linux/affinity.c
libgomp/config/linux/proc.c