summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/pool.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vppinfra/pool.h')
-rw-r--r--src/vppinfra/pool.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vppinfra/pool.h b/src/vppinfra/pool.h
index 9dd05a382ab..284e23d8e0a 100644
--- a/src/vppinfra/pool.h
+++ b/src/vppinfra/pool.h
@@ -68,8 +68,8 @@ typedef struct
} pool_header_t;
/** Align pool header so that pointers are naturally aligned. */
-#define pool_aligned_header_bytes \
- vec_aligned_header_bytes (sizeof (pool_header_t), sizeof (void *))
+#define pool_aligned_header_bytes \
+ round_pow2 (sizeof (pool_header_t), sizeof (void *))
/** Get pool header from user pool pointer */
always_inline pool_header_t *