162306a36Sopenharmony_ci/*
262306a36Sopenharmony_ci * Copied from the kernel sources to tools/:
362306a36Sopenharmony_ci *
462306a36Sopenharmony_ci * This file is subject to the terms and conditions of the GNU General Public
562306a36Sopenharmony_ci * License.  See the file "COPYING" in the main directory of this archive
662306a36Sopenharmony_ci * for more details.
762306a36Sopenharmony_ci *
862306a36Sopenharmony_ci * Copyright (C) 2001 - 2012 Tensilica Inc.
962306a36Sopenharmony_ci */
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci#ifndef _TOOLS_LINUX_XTENSA_SYSTEM_H
1262306a36Sopenharmony_ci#define _TOOLS_LINUX_XTENSA_SYSTEM_H
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci#define mb()  ({ __asm__ __volatile__("memw" : : : "memory"); })
1562306a36Sopenharmony_ci#define rmb() barrier()
1662306a36Sopenharmony_ci#define wmb() mb()
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci#endif /* _TOOLS_LINUX_XTENSA_SYSTEM_H */
19