Skip to content

Commit 9a7a01b

Browse files
brooksdavisbsdjhb
authored andcommitted
vm_map: move map_capability to a better aligned location
1 parent af24bf2 commit 9a7a01b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sys/vm/vm_map.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,9 @@ struct cheri_revoke_stats;
235235
*/
236236
struct vm_map {
237237
struct vm_map_entry header; /* List of entries */
238+
#if __has_feature(capabilities)
239+
uintcap_t map_capability; /* (c) Capability spanning the map */
240+
#endif
238241
union {
239242
struct sx lock; /* Lock for map data */
240243
struct mtx system_mtx;
@@ -280,9 +283,6 @@ struct vm_map {
280283
pmap_t pmap; /* (c) Physical map */
281284
vm_offset_t anon_loc;
282285
int busy;
283-
#if __has_feature(capabilities)
284-
intcap_t map_capability; /* Capability spanning the whole map */
285-
#endif
286286
#ifdef DIAGNOSTIC
287287
int nupdates;
288288
#endif

0 commit comments

Comments
 (0)