Merge remote-tracking branch 'asoc/topic/davinci' into asoc-next
[deliverable/linux.git] / arch / xtensa / include / asm / barrier.h
1 /*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Copyright (C) 2001 - 2012 Tensilica Inc.
7 */
8
9 #ifndef _XTENSA_SYSTEM_H
10 #define _XTENSA_SYSTEM_H
11
12 #define mb() ({ __asm__ __volatile__("memw" : : : "memory"); })
13 #define rmb() barrier()
14 #define wmb() mb()
15
16 #include <asm-generic/barrier.h>
17
18 #endif /* _XTENSA_SYSTEM_H */
This page took 0.042521 seconds and 5 git commands to generate.