summaryrefslogtreecommitdiff
path: root/util/msrtool/intel_pentium4_later.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/msrtool/intel_pentium4_later.c')
-rw-r--r--util/msrtool/intel_pentium4_later.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/util/msrtool/intel_pentium4_later.c b/util/msrtool/intel_pentium4_later.c
index 6bb6ebea43..7c077eef49 100644
--- a/util/msrtool/intel_pentium4_later.c
+++ b/util/msrtool/intel_pentium4_later.c
@@ -21,7 +21,10 @@
int intel_pentium4_later_probe(const struct targetdef *target) {
struct cpuid_t *id = cpuid();
- return ((0xf == id->family)&((0x3 == id->model)|(0x4 == id->model)));
+ return ((0xf == id->family) && (
+ (0x3 == id->model) ||
+ (0x4 == id->model)
+ ));
}
const struct msrdef intel_pentium4_later_msrs[] = {