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:
@@ -50,6 +50,12 @@ struct rl_q_entry;
|
|||||||
struct rangelock {
|
struct rangelock {
|
||||||
uintptr_t head;
|
uintptr_t head;
|
||||||
bool sleepers;
|
bool sleepers;
|
||||||
|
uint8_t resv1;
|
||||||
|
uint8_t resv2;
|
||||||
|
uint8_t resv3;
|
||||||
|
#if __SIZEOF_LONG__ >= 8
|
||||||
|
uint32_t resv4;
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef _KERNEL
|
#ifdef _KERNEL
|
||||||
|
|||||||
Reference in New Issue
Block a user