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