2005-06-24 13:01:26 +08:00
|
|
|
/*
|
|
|
|
* include/asm-xtensa/spinlock.h
|
|
|
|
*
|
|
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
|
|
* for more details.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2001 - 2005 Tensilica Inc.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _XTENSA_SPINLOCK_H
|
|
|
|
#define _XTENSA_SPINLOCK_H
|
|
|
|
|
2016-05-26 16:35:03 +08:00
|
|
|
#include <asm/barrier.h>
|
2019-01-02 06:08:32 +08:00
|
|
|
#include <asm/qrwlock.h>
|
|
|
|
#include <asm/qspinlock.h>
|
2016-05-26 16:35:03 +08:00
|
|
|
|
2019-01-02 06:08:32 +08:00
|
|
|
#define smp_mb__after_spinlock() smp_mb()
|
2005-06-24 13:01:26 +08:00
|
|
|
|
|
|
|
#endif /* _XTENSA_SPINLOCK_H */
|