xref: /linux/arch/xtensa/include/asm/spinlock.h (revision d6a5c562214f26e442c8ec3ff1e28e16675d1bcf)
1 /*
2  * include/asm-xtensa/spinlock.h
3  *
4  * This file is subject to the terms and conditions of the GNU General Public
5  * License.  See the file "COPYING" in the main directory of this archive
6  * for more details.
7  *
8  * Copyright (C) 2001 - 2005 Tensilica Inc.
9  */
10 
11 #ifndef _XTENSA_SPINLOCK_H
12 #define _XTENSA_SPINLOCK_H
13 
14 #include <asm/barrier.h>
15 #include <asm/qspinlock.h>
16 #include <asm/qrwlock.h>
17 
18 #define smp_mb__after_spinlock()	smp_mb()
19 
20 #endif	/* _XTENSA_SPINLOCK_H */
21