Release 4.15 arch/metag/include/asm/spinlock.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ASM_SPINLOCK_H
#define __ASM_SPINLOCK_H
#include <asm/barrier.h>
#include <asm/processor.h>
#ifdef CONFIG_METAG_ATOMICITY_LOCK1
#include <asm/spinlock_lock1.h>
#else
#include <asm/spinlock_lnkget.h>
#endif
/*
* both lock1 and lnkget are test-and-set spinlocks with 0 unlocked and 1
* locked.
*/
#endif /* __ASM_SPINLOCK_H */
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
James Hogan | 22 | 73.33% | 1 | 33.33% |
Peter Zijlstra | 7 | 23.33% | 1 | 33.33% |
Greg Kroah-Hartman | 1 | 3.33% | 1 | 33.33% |
Total | 30 | 100.00% | 3 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.