1
1

Don't declare us "bound" if the cpu mask is completely zero

This commit was SVN r21839.
Этот коммит содержится в:
Ralph Castain 2009-08-19 18:55:06 +00:00
родитель 11d44cec1b
Коммит aca3e71ccd

Просмотреть файл

@ -204,7 +204,7 @@ typedef struct opal_paffinity_base_cpu_set_t {
num_bound++; \ num_bound++; \
} \ } \
} \ } \
if (num_bound < num_processors) { \ if (0 < num_bound && num_bound < num_processors) { \
*(bound) = true; \ *(bound) = true; \
} \ } \
} while(0); } while(0);