Preparations for the ICM nodelist flag (FSP-1033)

This commit is contained in:
Michiel Broek 2004-06-06 19:39:53 +00:00
parent b7136aa545
commit adb66cdb9a

View File

@ -1233,10 +1233,10 @@ unsigned long getCMmask(void)
for (tmpm = &nl_online; *tmpm; tmpm=&((*tmpm)->next)) { for (tmpm = &nl_online; *tmpm; tmpm=&((*tmpm)->next)) {
if (strcmp("CM", (*tmpm)->name) == 0) { if (strcmp("CM", (*tmpm)->name) == 0) {
mask &= (*tmpm)->value; mask |= (*tmpm)->value;
} }
if (strcmp("ICM", (*tmpm)->name) == 0) { if (strcmp("ICM", (*tmpm)->name) == 0) {
mask &= (*tmpm)->value; mask |= (*tmpm)->value;
} }
} }
if (mask) if (mask)