Skip to content
Prev Previous commit
Next Next commit
Fix linux arm64 build
  • Loading branch information
kunalspathak committed Jun 21, 2022
commit b09e49594e8211f8760ee676f7dd15ec3cc20ca6
2 changes: 1 addition & 1 deletion src/coreclr/pal/src/misc/sysinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ PAL_GetLogicalProcessorCacheSizeFromOS()
// 5 ~ 16 : 8 MB
// 17 ~ 64 : 16 MB
// 65+ : 32 MB
DWORD logicalCPUs = g_totalCpuCount;
DWORD logicalCPUs = PAL_GetLogicalCpuCountFromOS();
if (logicalCPUs < 5)
{
cacheSize = 4;
Expand Down