mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-14 06:49:16 +08:00
ZONE(9): Disable unused field
This commit is contained in:
parent
2dea47c82f
commit
4c7d385f06
@ -239,7 +239,9 @@ struct uma_slab_head {
|
|||||||
uma_keg_t us_keg; /* Keg we live in */
|
uma_keg_t us_keg; /* Keg we live in */
|
||||||
union {
|
union {
|
||||||
LIST_ENTRY(uma_slab) _us_link; /* slabs in zone */
|
LIST_ENTRY(uma_slab) _us_link; /* slabs in zone */
|
||||||
|
#ifndef __rtems__
|
||||||
unsigned long _us_size; /* Size of allocation */
|
unsigned long _us_size; /* Size of allocation */
|
||||||
|
#endif /* __rtems__ */
|
||||||
} us_type;
|
} us_type;
|
||||||
SLIST_ENTRY(uma_slab) us_hlink; /* Link for hash table */
|
SLIST_ENTRY(uma_slab) us_hlink; /* Link for hash table */
|
||||||
u_int8_t *us_data; /* First item */
|
u_int8_t *us_data; /* First item */
|
||||||
@ -270,7 +272,9 @@ struct uma_slab_refcnt {
|
|||||||
|
|
||||||
#define us_keg us_head.us_keg
|
#define us_keg us_head.us_keg
|
||||||
#define us_link us_head.us_type._us_link
|
#define us_link us_head.us_type._us_link
|
||||||
|
#ifndef __rtems__
|
||||||
#define us_size us_head.us_type._us_size
|
#define us_size us_head.us_type._us_size
|
||||||
|
#endif /* __rtems__ */
|
||||||
#define us_hlink us_head.us_hlink
|
#define us_hlink us_head.us_hlink
|
||||||
#define us_data us_head.us_data
|
#define us_data us_head.us_data
|
||||||
#define us_flags us_head.us_flags
|
#define us_flags us_head.us_flags
|
||||||
|
Loading…
x
Reference in New Issue
Block a user