From dbb24072dbfffc2ff1246af441033ea7f5525215 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 23 Oct 2018 12:11:54 +0200 Subject: ZONE(9): Disable UMA_ZONE_NUMA There is no NUMA support in RTEMS currently. --- freebsd/sys/vm/uma_int.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'freebsd/sys/vm/uma_int.h') 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 */ -- cgit v1.2.3