blob: f7eb0edbd48beb99d833f9804a3412a40e17b1d2 [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file or at
#include <zircon/compiler.h>
#include <arch/defines.h>
// Use to align structures on cache lines to avoid cpu aliasing.
// Similar to above, but put in a special section to make sure no other
// variable shares the same cache line.
#define __CPU_ALIGN_EXCLUSIVE __CPU_ALIGN __SECTION(".data.cpu_align_exclusive")