diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-10-23 12:11:54 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-10-23 12:11:54 +0200 |
commit | dbb24072dbfffc2ff1246af441033ea7f5525215 (patch) | |
tree | b5113fab5561250eed8169e2786bd65cf48d867f /freebsd/sys/vm/uma_int.h | |
parent | pppd: Fix use of uninitialized stack variables (diff) | |
download | rtems-libbsd-dbb24072dbfffc2ff1246af441033ea7f5525215.tar.bz2 |
ZONE(9): Disable UMA_ZONE_NUMA
There is no NUMA support in RTEMS currently.
Diffstat (limited to '')
-rw-r--r-- | freebsd/sys/vm/uma_int.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/freebsd/sys/vm/uma_int.h b/freebsd/sys/vm/uma_int.h index 5f787dfa..ff638095 100644 --- a/freebsd/sys/vm/uma_int.h +++ b/freebsd/sys/vm/uma_int.h @@ -321,7 +321,11 @@ struct uma_zone { /* Offset 0, used in alloc/free fast/medium fast path and const. */ struct mtx *uz_lockptr; const char *uz_name; /* Text name of the zone */ +#ifndef __rtems__ struct uma_zone_domain *uz_domain; /* per-domain buckets */ +#else /* __rtems__ */ + struct uma_zone_domain uz_domain[1]; /* per-domain buckets */ +#endif /* __rtems__ */ uint32_t uz_flags; /* Flags inherited from kegs */ uint32_t uz_size; /* Size inherited from kegs */ uma_ctor uz_ctor; /* Constructor for each allocation */ |