Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mono/utils/mono-hwcap-arm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mono/utils/mono-hwcap-arm.c b/mono/utils/mono-hwcap-arm.c
index d5621323f9f..758c3dc6fc2 100644
--- a/mono/utils/mono-hwcap-arm.c
+++ b/mono/utils/mono-hwcap-arm.c
@@ -159,7 +159,8 @@ mono_hwcap_arch_init (void)
if (file) {
while ((line = fgets (buf, 512, file))) {
- if (!strncmp (line, "Processor", 9)) {
+ if (!strncmp (line, "Processor", 9) ||
+ !strncmp (line, "model name", 10)) {
char *ver = strstr (line, "(v");
if (ver) {