diff options
author | Isaiah Norton <isaiah.norton@gmail.com> | 2014-07-31 04:59:30 +0000 |
---|---|---|
committer | Isaiah Norton <isaiah.norton@gmail.com> | 2014-07-31 05:13:31 +0000 |
commit | a183ad1df4e88447473a41bec42d5be8f5f8e746 (patch) | |
tree | af932b9f18a50b81d0e1685ed3f474d57e648887 /cpuid_arm.c | |
parent | 4f83217df678d8abb0678a8cecaa660bcdff9b44 (diff) | |
download | openblas-a183ad1df4e88447473a41bec42d5be8f5f8e746.tar.gz openblas-a183ad1df4e88447473a41bec42d5be8f5f8e746.tar.bz2 openblas-a183ad1df4e88447473a41bec42d5be8f5f8e746.zip |
cpuid_arm: fix detection when cpuinfo uses "Processor"
instead of "model name"
Diffstat (limited to 'cpuid_arm.c')
-rw-r--r-- | cpuid_arm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpuid_arm.c b/cpuid_arm.c index 809ef3d3a..b7181b2f9 100644 --- a/cpuid_arm.c +++ b/cpuid_arm.c @@ -90,7 +90,7 @@ int detect(void) while (fgets(buffer, sizeof(buffer), infile)) { - if (!strncmp("model name", buffer, 10)) + if ((!strncmp("model name", buffer, 10)) || (!strncmp("Processor", buffer, 9))) { p = strchr(buffer, ':') + 2; break; |