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.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c
index ee19c4b..45b956c 100644
--- a/i386/intel/pmap.c
+++ b/i386/intel/pmap.c
@@ -354,7 +354,12 @@ lock_data_t pmap_system_lock;
flush_tlb(); \
}
#else
-#define INVALIDATE_TLB(pmap, s, e) flush_tlb()
+#define INVALIDATE_TLB(pmap, s, e) { \
+ (void) (pmap); \
+ (void) (s); \
+ (void) (e); \
+ flush_tlb(); \
+}
#endif
#endif /* MACH_HYP */