projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f83217
)
cpuid_arm: fix detection when cpuinfo uses "Processor"
author
Isaiah Norton
<isaiah.norton@gmail.com>
Thu, 31 Jul 2014 04:59:30 +0000
(
04:59
+0000)
committer
Isaiah Norton
<isaiah.norton@gmail.com>
Thu, 31 Jul 2014 05:13:31 +0000
(
05:13
+0000)
instead of "model name"
cpuid_arm.c
patch
|
blob
|
history
diff --git
a/cpuid_arm.c
b/cpuid_arm.c
index
809ef3d
..
b7181b2
100644
(file)
--- 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;