mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
579afe866f
Drop custom spinlock/rwlock code and use ones from asm-generic. This way there is less code duplication (atomic primitives are reused). Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
21 lines
472 B
C
21 lines
472 B
C
/*
|
|
* 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
|
|
|
|
#include <asm/barrier.h>
|
|
#include <asm/qrwlock.h>
|
|
#include <asm/qspinlock.h>
|
|
|
|
#define smp_mb__after_spinlock() smp_mb()
|
|
|
|
#endif /* _XTENSA_SPINLOCK_H */
|