summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/vm/vm_map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c
index f28271d..265cac0 100644
--- a/sys/vm/vm_map.c
+++ b/sys/vm/vm_map.c
@@ -1107,8 +1107,8 @@ _vm_map_clip_start(vm_map_t map, vm_map_entry_t entry, vm_offset_t start)
*/
#define vm_map_clip_end(map, entry, endaddr) \
{ \
- if (endaddr < entry->end) \
- _vm_map_clip_end(map, entry, endaddr); \
+ if ((endaddr) < (entry->end)) \
+ _vm_map_clip_end((map), (entry), (endaddr)); \
}
/*
OpenPOWER on IntegriCloud