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
This commit is contained in:
Konstantin Belousov
2026-04-26 05:22:52 +03:00
parent 36b155a2b3
commit 3d505310b1
+6
View File
@@ -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