diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2026-04-26 02:22:52 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2026-06-14 02:02:38 +0000 |
| commit | 3d505310b1bb259c3e5f39d8c88a465cf1403934 (patch) | |
| tree | 8d9b8dbcf4ea55c02e3af55bfc3a16eaebd77297 | |
| parent | 36b155a2b3baa747c1968a9094df9fa7fb0d02b3 (diff) | |
sys/rangelock.h: explicitly enumerate padding at the end of the structure
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D56912
| -rw-r--r-- | sys/sys/rangelock.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/sys/rangelock.h b/sys/sys/rangelock.h index 32ccf3427b49..ea3d0c26cd30 100644 --- a/sys/sys/rangelock.h +++ b/sys/sys/rangelock.h @@ -50,6 +50,12 @@ struct rl_q_entry; struct rangelock { uintptr_t head; bool sleepers; + uint8_t resv1; + uint8_t resv2; + uint8_t resv3; +#if __SIZEOF_LONG__ >= 8 + uint32_t resv4; +#endif }; #ifdef _KERNEL |
