1.1 --- a/src/cpu/x86/vm/vm_version_x86.hpp Tue Oct 27 03:51:05 2015 +0000 1.2 +++ b/src/cpu/x86/vm/vm_version_x86.hpp Fri Oct 30 08:29:19 2015 -0700 1.3 @@ -592,7 +592,7 @@ 1.4 result = _cpuid_info.std_cpuid1_ebx.bits.threads_per_cpu / 1.5 cores_per_cpu(); 1.6 } 1.7 - return result; 1.8 + return (result == 0 ? 1 : result); 1.9 } 1.10 1.11 static intx prefetch_data_size() {