18c2ecf20Sopenharmony_ci/* 28c2ecf20Sopenharmony_ci * include/asm-xtensa/spinlock.h 38c2ecf20Sopenharmony_ci * 48c2ecf20Sopenharmony_ci * This file is subject to the terms and conditions of the GNU General Public 58c2ecf20Sopenharmony_ci * License. See the file "COPYING" in the main directory of this archive 68c2ecf20Sopenharmony_ci * for more details. 78c2ecf20Sopenharmony_ci * 88c2ecf20Sopenharmony_ci * Copyright (C) 2001 - 2005 Tensilica Inc. 98c2ecf20Sopenharmony_ci */ 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci#ifndef _XTENSA_SPINLOCK_H 128c2ecf20Sopenharmony_ci#define _XTENSA_SPINLOCK_H 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci#include <asm/barrier.h> 158c2ecf20Sopenharmony_ci#include <asm/qrwlock.h> 168c2ecf20Sopenharmony_ci#include <asm/qspinlock.h> 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci#define smp_mb__after_spinlock() smp_mb() 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci#endif /* _XTENSA_SPINLOCK_H */ 21