ALIGN() on FreeBSD does not expect the same number of arguments.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I8ce4cc94bc840a11dc30ae0679f6b2c41e11bc12
counters_offset = shm_length;
shm_length += counter_size * nr_elem;
overflow_offset = shm_length;
counters_offset = shm_length;
shm_length += counter_size * nr_elem;
overflow_offset = shm_length;
- shm_length += ALIGN(nr_elem, 8) / 8;
+ shm_length += LTTNG_UST_ALIGN(nr_elem, 8) / 8;
underflow_offset = shm_length;
underflow_offset = shm_length;
- shm_length += ALIGN(nr_elem, 8) / 8;
+ shm_length += LTTNG_UST_ALIGN(nr_elem, 8) / 8;
layout->shm_len = shm_length;
if (counter->is_daemon) {
/* Allocate and clear shared memory. */
layout->shm_len = shm_length;
if (counter->is_daemon) {
/* Allocate and clear shared memory. */