summaryrefslogtreecommitdiff
path: root/i386/intel/pmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'i386/intel/pmap.c')
-rw-r--r--i386/intel/pmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c
index 7cb990ab..3c11d313 100644
--- a/i386/intel/pmap.c
+++ b/i386/intel/pmap.c
@@ -2787,7 +2787,7 @@ void pmap_update_interrupt()
}
#endif /* NCPUS > 1 */
-#ifdef i386
+#if defined(__i386__)
/* Unmap page 0 to trap NULL references. */
void
pmap_unmap_page_zero ()
@@ -2806,4 +2806,4 @@ pmap_unmap_page_zero ()
INVALIDATE_TLB(kernel_pmap, 0, PAGE_SIZE);
#endif /* MACH_XEN */
}
-#endif /* i386 */
+#endif /* __i386__ */