Return a somewhat sane default value for L2 cache size if cpuid retur… (#1611)
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Mon, 11 Jun 2018 11:26:19 +0000 (13:26 +0200)
committerGitHub <noreply@github.com>
Mon, 11 Jun 2018 11:26:19 +0000 (13:26 +0200)
commit6f71c0fce45c86c55d12b6e12e69b9ccb8ec2f28
treeef1eff7bd4a154baa4ffba85769b592598f8741f
parent3313e4b946031b3094b96d9ccc8c50970565330b
Return a somewhat sane default value for L2 cache size if cpuid retur… (#1611)

* Return a somewhat sane default value for L2 cache size if cpuid returned something unexpected

Fixes #1610, the KVM hypervisor on Google Chromebooks returning zero for CPUID  0x80000006, causing DYNAMIC_ARCH
builds of OpenBLAS to hang
kernel/setparam-ref.c