Changeset View
Changeset View
Standalone View
Standalone View
head/sysutils/x86info/files/patch-cpuid.c
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- cpuid.c.orig 2017-09-06 10:17:13.000000000 -0600 | |||||
+++ cpuid.c 2018-01-11 10:34:12.018249000 -0700 | |||||
@@ -21,14 +21,7 @@ | |||||
{ | |||||
unsigned int a = 0, b = 0, c = 0, d = 0; | |||||
- if (eax != NULL) | |||||
- a = *eax; | |||||
- if (ebx != NULL) | |||||
- b = *ebx; | |||||
- if (ecx != NULL) | |||||
- c = *ecx; | |||||
- if (edx != NULL) | |||||
- d = *edx; | |||||
+ c = idx >> 32; | |||||
bind_cpu(cpunr); | |||||