Commit 23c28fe4 authored by Andreas Marek's avatar Andreas Marek
Browse files

Fix typo in get_cpuid

parent b1df2f6d
......@@ -58,7 +58,7 @@ static inline void get_cpu_manufacturer(int *set)
u_int32_t registers[4];
registers[0] = 0;
asm volatile("cpuid": "=a" (registers[0]),"=b" (registers[1]),"=c" (registrers[3]),"=d" (registers[2]): "0" (registers[0]), "2" (registers[2]): "memory");
asm volatile("cpuid": "=a" (registers[0]),"=b" (registers[1]),"=c" (registers[3]),"=d" (registers[2]): "0" (registers[0]), "2" (registers[2]): "memory");
char str[13]="GenuineIntel\0";
char manufacturer[13];
Supports Markdown
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