summaryrefslogtreecommitdiffstats
path: root/physmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'physmap.c')
-rw-r--r--physmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/physmap.c b/physmap.c
index ca5afd0..a261ccd 100644
--- a/physmap.c
+++ b/physmap.c
@@ -457,7 +457,7 @@ void cleanup_cpu_msr(void)
/* Clear MSR file descriptor. */
fd_msr = -1;
}
-#elif defined(__OpenBSD__) /* This does only work for certain AMD Geode LX systems see amdmsr(4). */
+#elif defined(__OpenBSD__) && defined (__i386__) /* This does only work for certain AMD Geode LX systems see amdmsr(4). */
#include <sys/ioctl.h>
#include <machine/amdmsr.h>
OpenPOWER on IntegriCloud