summaryrefslogtreecommitdiff
path: root/util/msrtool/intel_pentium3.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/msrtool/intel_pentium3.c')
-rw-r--r--util/msrtool/intel_pentium3.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/util/msrtool/intel_pentium3.c b/util/msrtool/intel_pentium3.c
index a2b422562e..442ae3d323 100644
--- a/util/msrtool/intel_pentium3.c
+++ b/util/msrtool/intel_pentium3.c
@@ -21,7 +21,10 @@
int intel_pentium3_probe(const struct targetdef *target) {
struct cpuid_t *id = cpuid();
- return ((0x6 == id->family)&((0xa == id->model)|(0xb == id->model)));
+ return ((0x6 == id->family) && (
+ (0xa == id->model) ||
+ (0xb == id->model)
+ ));
}
const struct msrdef intel_pentium3_msrs[] = {