summaryrefslogtreecommitdiff
path: root/i386/intel
diff options
context:
space:
mode:
Diffstat (limited to 'i386/intel')
-rw-r--r--i386/intel/pmap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c
index 7ce3fb3..d46f645 100644
--- a/i386/intel/pmap.c
+++ b/i386/intel/pmap.c
@@ -331,12 +331,16 @@ lock_data_t pmap_system_lock;
#define MAX_TBIS_SIZE 32 /* > this -> TBIA */ /* XXX */
+#if 0
#define INVALIDATE_TLB(s, e) { \
if (((e) - (s)) > 32 * PAGE_SIZE) \
flush_tlb(); \
else \
invlpg_linear(s, e); \
}
+#else
+#define INVALIDATE_TLB(s, e) flush_tlb()
+#endif
#if NCPUS > 1