summaryrefslogtreecommitdiff
path: root/i386/intel
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2009-10-14 00:57:37 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2009-10-14 00:57:37 +0200
commit3f27b87f446e26598b53e5cc20f968445c09843c (patch)
treeedfdf2aab2048f34bc7a944a84671a95b6d5556e /i386/intel
parentefc3d9c47cd744c316a8521c9a29fa274b507d26 (diff)
Fix macro escapes
i386/intel/pmap.c (INVALIDATE_TLB): Fix macro escapes
Diffstat (limited to 'i386/intel')
-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 d57df92..f6cbead 100644
--- a/i386/intel/pmap.c
+++ b/i386/intel/pmap.c
@@ -335,8 +335,8 @@ lock_data_t pmap_system_lock;
/* It is hard to know when a TLB flush becomes less expensive than a bunch of
* invlpgs. But it surely is more expensive than just one invlpg. */
#define INVALIDATE_TLB(s, e) { \
- if (__builtin_constant_p((e) - (s))
- && (e) - (s) == PAGE_SIZE)
+ if (__builtin_constant_p((e) - (s)) \
+ && (e) - (s) == PAGE_SIZE) \
invlpg_linear(s); \
else \
flush_tlb(); \