Don't declare us "bound" if the cpu mask is completely zero
This commit was SVN r21839.
Этот коммит содержится в:
родитель
11d44cec1b
Коммит
aca3e71ccd
@ -204,7 +204,7 @@ typedef struct opal_paffinity_base_cpu_set_t {
|
||||
num_bound++; \
|
||||
} \
|
||||
} \
|
||||
if (num_bound < num_processors) { \
|
||||
if (0 < num_bound && num_bound < num_processors) { \
|
||||
*(bound) = true; \
|
||||
} \
|
||||
} while(0);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user