Fix cortex-a15 detecting bug.
authorZhang Xianyi <traits.zhang@gmail.com>
Mon, 12 Jan 2015 09:35:16 +0000 (09:35 +0000)
committerZhang Xianyi <traits.zhang@gmail.com>
Mon, 12 Jan 2015 09:35:16 +0000 (09:35 +0000)
cpuid_arm.c

index 211ea27..51ba72d 100644 (file)
@@ -112,7 +112,7 @@ int detect(void)
          if (strstr(p, "0xc09")) {
            return CPU_CORTEXA9;
          }
-         if (strstr(p, "0xc15")) {
+         if (strstr(p, "0xc0f")) {
            return CPU_CORTEXA15;
          }