aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/unix
diff options
context:
space:
mode:
Diffstat (limited to 'src/vlib/unix')
-rw-r--r--src/vlib/unix/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vlib/unix/main.c b/src/vlib/unix/main.c
index 4ef96652470..69959fd9137 100644
--- a/src/vlib/unix/main.c
+++ b/src/vlib/unix/main.c
@@ -704,8 +704,8 @@ vlib_unix_main (int argc, char *argv[])
vm->argv = (u8 **) argv;
vgm->name = argv[0];
vm->heap_base = clib_mem_get_heap ();
- vm->heap_aligned_base = (void *)
- (((uword) vm->heap_base) & ~(VLIB_FRAME_ALIGN - 1));
+ vm->heap_aligned_base =
+ (void *) (((uword) vm->heap_base) & ~(CLIB_CACHE_LINE_BYTES - 1));
ASSERT (vm->heap_base);
clib_time_init (&vm->clib_time);