aboutsummaryrefslogtreecommitdiff
path: root/util/msrtool/geodegx2.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/msrtool/geodegx2.c')
-rw-r--r--util/msrtool/geodegx2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/util/msrtool/geodegx2.c b/util/msrtool/geodegx2.c
index ae5d887c2d..29d1a13c8f 100644
--- a/util/msrtool/geodegx2.c
+++ b/util/msrtool/geodegx2.c
@@ -20,8 +20,7 @@
#include "msrtool.h"
-int geodegx2_probe(const struct targetdef *target) {
- struct cpuid_t *id = cpuid();
+int geodegx2_probe(const struct targetdef *target, const struct cpuid_t *id) {
return 5 == id->family && 5 == id->model;
}