1367b8112SChris Zankel /* 2367b8112SChris Zankel * include/asm-xtensa/spinlock.h 3367b8112SChris Zankel * 4367b8112SChris Zankel * This file is subject to the terms and conditions of the GNU General Public 5367b8112SChris Zankel * License. See the file "COPYING" in the main directory of this archive 6367b8112SChris Zankel * for more details. 7367b8112SChris Zankel * 8367b8112SChris Zankel * Copyright (C) 2001 - 2005 Tensilica Inc. 9367b8112SChris Zankel */ 10367b8112SChris Zankel 11367b8112SChris Zankel #ifndef _XTENSA_SPINLOCK_H 12367b8112SChris Zankel #define _XTENSA_SPINLOCK_H 13367b8112SChris Zankel 14726328d9SPeter Zijlstra #include <asm/barrier.h> 15579afe86SMax Filippov #include <asm/qspinlock.h> 16*d8d0da4eSWaiman Long #include <asm/qrwlock.h> 17726328d9SPeter Zijlstra 18579afe86SMax Filippov #define smp_mb__after_spinlock() smp_mb() 19367b8112SChris Zankel 20367b8112SChris Zankel #endif /* _XTENSA_SPINLOCK_H */ 21