Page MenuHomeFreeBSD

D25282.id73142.diff
No OneTemporary

D25282.id73142.diff

Index: sys/vm/vm_map.c
===================================================================
--- sys/vm/vm_map.c
+++ sys/vm/vm_map.c
@@ -2428,19 +2428,6 @@
return (entry);
}
-/*
- * vm_map_clip_end: [ internal use only ]
- *
- * Asserts that the given entry ends at or before
- * the specified address; if necessary,
- * it splits the entry into two.
- */
-#define vm_map_clip_end(map, entry, endaddr) \
-{ \
- if ((endaddr) < (entry->end)) \
- _vm_map_clip_end((map), (entry), (endaddr)); \
-}
-
/*
* This routine is called only when it is known that
* the entry must be split.
@@ -2464,6 +2451,20 @@
vm_map_entry_link(map, new_entry);
}
+/*
+ * vm_map_clip_end: [ internal use only ]
+ *
+ * Asserts that the given entry ends at or before
+ * the specified address; if necessary,
+ * it splits the entry into two.
+ */
+static inline void
+vm_map_clip_end(vm_map_t map, vm_map_entry_t entry, vm_offset_t endaddr)
+{
+ if (endaddr < entry->end)
+ _vm_map_clip_end(map, entry, endaddr);
+}
+
/*
* vm_map_submap: [ kernel use only ]
*

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 20, 9:41 PM (15 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14747863
Default Alt Text
D25282.id73142.diff (1 KB)

Event Timeline