aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2026-04-26 02:22:52 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2026-05-03 19:58:37 +0000
commita770638ecf16515d8922111c3fdd417aba6c045e (patch)
tree0714c8ae5ef468c416204f7297ca1949b735eb22
parent067cfac2e7bd9dc857fb6cc504c01b0249bcd1b7 (diff)
sys/rangelock.h: explicitly enumerate padding at the end of the structure
Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision:
-rw-r--r--sys/sys/rangelock.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/rangelock.h b/sys/sys/rangelock.h
index 32ccf3427b49..3169c251a495 100644
--- a/sys/sys/rangelock.h
+++ b/sys/sys/rangelock.h
@@ -50,6 +50,9 @@ struct rl_q_entry;
struct rangelock {
uintptr_t head;
bool sleepers;
+ uint8_t resv0;
+ uint16_t resv1;
+ uint32_t resv2;
};
#ifdef _KERNEL