summaryrefslogtreecommitdiff
path: root/math/openblas/files/patch-cpuid__arm.c
blob: 0aa24dc52a12503cf0bcd4a500f8dfe4625b3e82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- cpuid_arm.c.orig	2016-09-01 03:58:42 UTC
+++ cpuid_arm.c
@@ -181,7 +181,12 @@ int detect(void)
 	  }
 
 	}
-
+#else
+#if (__ARM_ARCH == 7)
+	return CPU_ARMV7;
+#else
+	return CPU_ARMV6;
+#endif
 #endif
 
 	return CPU_UNKNOWN;