summaryrefslogtreecommitdiff
path: root/src/cpu/p5/cpuid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/p5/cpuid.c')
-rw-r--r--src/cpu/p5/cpuid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/p5/cpuid.c b/src/cpu/p5/cpuid.c
index 2d3d3a87b5..ab4a09d421 100644
--- a/src/cpu/p5/cpuid.c
+++ b/src/cpu/p5/cpuid.c
@@ -1,13 +1,13 @@
#include <console/console.h>
#include <cpu/p5/cpuid.h>
-#ifdef i586
+#if i586==1
#include <cpu/p6/msr.h>
#endif
int mtrr_check(void)
{
-#ifdef i686
+#if i686==1
/* Only Pentium Pro and later have MTRR */
msr_t msr;
printk_debug("\nMTRR check\n");