of: MSI: Simplify irqdomain lookup
[linux/fpc-iii.git] / tools / arch / tile / include / asm / barrier.h
blob7d3692c3d4ac2bc44265f2273a1e7479d1ebfb86
1 #ifndef _TOOLS_LINUX_ASM_TILE_BARRIER_H
2 #define _TOOLS_LINUX_ASM_TILE_BARRIER_H
3 /*
4 * FIXME: This came from tools/perf/perf-sys.h, where it was first introduced
5 * in 620830b6954913647b7c7f68920cf48eddf6ad92, more work needed to make it
6 * more closely follow the Linux kernel arch/tile/include/asm/barrier.h file.
7 * Probably when we continue work on tools/ Kconfig support to have all the
8 * CONFIG_ needed for properly doing that.
9 */
11 #define mb() asm volatile ("mf" ::: "memory")
12 #define wmb() mb()
13 #define rmb() mb()
15 #endif /* _TOOLS_LINUX_ASM_TILE_BARRIER_H */