diff options
-rw-r--r-- | src/sna/sna_threads.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/sna_threads.c b/src/sna/sna_threads.c index 333b7ebd..6627cbda 100644 --- a/src/sna/sna_threads.c +++ b/src/sna/sna_threads.c @@ -102,11 +102,11 @@ num_cores(void) int id; if (sscanf(line, "physical id : %d", &id) == 1) { if (id >= 32) - return 0; + continue; processors |= 1 << id; } else if (sscanf(line, "core id : %d", &id) == 1) { if (id >= 32) - return 0; + continue; cores |= 1 << id; } } |