diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-09-11 11:49:47 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-09-11 11:50:44 +0200 |
commit | 495a768f99c8fe4cf3a8e7bb71095a866b182c8e (patch) | |
tree | 4a8e031958edcff87111d41fe3c1e2e352e5615d /freebsd/sys/vm/uma.h | |
parent | ZONE(9): Disable unused field (diff) | |
download | rtems-libbsd-495a768f99c8fe4cf3a8e7bb71095a866b182c8e.tar.bz2 |
ZONE(9): Fix slab flag handling
Disable unused slab flags.
Diffstat (limited to 'freebsd/sys/vm/uma.h')
-rw-r--r-- | freebsd/sys/vm/uma.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/freebsd/sys/vm/uma.h b/freebsd/sys/vm/uma.h index 53344c02..dbe3c488 100644 --- a/freebsd/sys/vm/uma.h +++ b/freebsd/sys/vm/uma.h @@ -542,13 +542,17 @@ void uma_zone_set_freef(uma_zone_t zone, uma_free freef); /* * These flags are setable in the allocf and visible in the freef. */ +#ifndef __rtems__ #define UMA_SLAB_BOOT 0x01 /* Slab alloced from boot pages */ #define UMA_SLAB_KMEM 0x02 /* Slab alloced from kmem_map */ +#endif /* __rtems__ */ #define UMA_SLAB_KERNEL 0x04 /* Slab alloced from kernel_map */ +#ifndef __rtems__ #define UMA_SLAB_PRIV 0x08 /* Slab alloced from priv allocator */ #define UMA_SLAB_OFFP 0x10 /* Slab is managed separately */ #define UMA_SLAB_MALLOC 0x20 /* Slab is a large malloc slab */ /* 0x40 and 0x80 are available */ +#endif /* __rtems__ */ /* * Used to pre-fill a zone with some number of items |