Commit 2b5deddc authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

ntdll: Fix CPU level on ARM.

parent a29ca210
...@@ -1100,10 +1100,10 @@ static inline void get_cpuinfo(SYSTEM_CPU_INFORMATION* info) ...@@ -1100,10 +1100,10 @@ static inline void get_cpuinfo(SYSTEM_CPU_INFORMATION* info)
while (isspace(*value)) value++; while (isspace(*value)) value++;
if ((s = strchr(value,'\n'))) if ((s = strchr(value,'\n')))
*s='\0'; *s='\0';
if (!strcasecmp(line, "CPU part")) if (!strcasecmp(line, "CPU architecture"))
{ {
if (isdigit(value[0])) if (isdigit(value[0]))
info->Level = strtol(value, NULL, 16); info->Level = atoi(value);
continue; continue;
} }
if (!strcasecmp(line, "CPU revision")) if (!strcasecmp(line, "CPU revision"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment