Permalink
Browse files

Merge branch 'pg/fix-freebsd-dualcore-detection' into dev

* pg/fix-freebsd-dualcore-detection:
  Fix bug in FreeBSD topology detection code

OTP-9453
  • Loading branch information...
2 parents c6c4fba + a13caa7 commit 9ea7da397fa93cc2cb62e27ba2b6ca5e815e0f22 @proxyles proxyles committed Aug 8, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 erts/lib_src/common/erl_misc_utils.c
@@ -1511,7 +1511,7 @@ const char* parse_topology_spec_group(erts_cpu_info_t *cpuinfo, const char* xml,
}
}
- if (cacheLevel == 0) {
+ if (parentCacheLevel == 0) {
*core_p = 0;
*processor_p = (*processor_p)++;
} else {

0 comments on commit 9ea7da3

Please sign in to comment.