summaryrefslogtreecommitdiff
path: root/util/msrtool/intel_core1.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/msrtool/intel_core1.c')
-rw-r--r--util/msrtool/intel_core1.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/util/msrtool/intel_core1.c b/util/msrtool/intel_core1.c
index 1ebc7df7df..73e09fd424 100644
--- a/util/msrtool/intel_core1.c
+++ b/util/msrtool/intel_core1.c
@@ -19,8 +19,7 @@
#include "msrtool.h"
-int intel_core1_probe(const struct targetdef *target) {
- struct cpuid_t *id = cpuid();
+int intel_core1_probe(const struct targetdef *target, const struct cpuid_t *id) {
return ((0x6 == id->family) && (0xe == id->model));
}