/* * Copyright 2004-2009 Analog Devices Inc. * * Licensed under the GPL-2 or later. */ #ifndef __BFIN_SPINLOCK_H #define __BFIN_SPINLOCK_H #ifndef CONFIG_SMP # include <asm-generic/spinlock.h> #else #include <linux/atomic.h> #include <asm/processor.h> #include <asm/barrier.h> asmlinkage int __raw_spin_is_locked_asm(volatile int *ptr); asmlinkage void __raw_spin_lock_asm(volatile int *ptr); asmlinkage int __raw_spin_trylock_asm(volatile int *ptr); asmlinkage void __raw_spin_unlock_asm(volatile int *ptr); asmlinkage void __raw_read_lock_asm(volatile int *ptr); asmlinkage int __raw_read_trylock_asm(volatile int *ptr); asmlinkage void __raw_read_unlock_asm(volatile int *ptr); asmlinkage void __raw_write_lock_asm(volatile int *ptr); asmlinkage int __raw_write_trylock_asm(volatile int *ptr); asmlinkage void __raw_write_unlock_asm(volatile int *ptr);
static inline int arch_spin_is_locked(arch_spinlock_t *lock) { return __raw_spin_is_locked_asm(&lock->lock); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Graf Yang | 18 | 90.00% | 1 | 33.33% |
Thomas Gleixner | 2 | 10.00% | 2 | 66.67% |
Total | 20 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Graf Yang | 17 | 89.47% | 1 | 33.33% |
Thomas Gleixner | 2 | 10.53% | 2 | 66.67% |
Total | 19 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Graf Yang | 18 | 90.00% | 1 | 33.33% |
Thomas Gleixner | 2 | 10.00% | 2 | 66.67% |
Total | 20 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Graf Yang | 17 | 89.47% | 1 | 33.33% |
Thomas Gleixner | 2 | 10.53% | 2 | 66.67% |
Total | 19 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Graf Yang | 20 | 90.91% | 1 | 33.33% |
Thomas Gleixner | 2 | 9.09% | 2 | 66.67% |
Total | 22 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Graf Yang | 20 | 90.91% | 1 | 33.33% |
Thomas Gleixner | 2 | 9.09% | 2 | 66.67% |
Total | 22 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Graf Yang | 17 | 89.47% | 2 | 50.00% |
Thomas Gleixner | 2 | 10.53% | 2 | 50.00% |
Total | 19 | 100.00% | 4 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Graf Yang | 18 | 90.00% | 2 | 50.00% |
Thomas Gleixner | 2 | 10.00% | 2 | 50.00% |
Total | 20 | 100.00% | 4 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Graf Yang | 17 | 89.47% | 2 | 50.00% |
Thomas Gleixner | 2 | 10.53% | 2 | 50.00% |
Total | 19 | 100.00% | 4 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Graf Yang | 17 | 89.47% | 2 | 50.00% |
Thomas Gleixner | 2 | 10.53% | 2 | 50.00% |
Total | 19 | 100.00% | 4 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Graf Yang | 18 | 90.00% | 2 | 50.00% |
Thomas Gleixner | 2 | 10.00% | 2 | 50.00% |
Total | 20 | 100.00% | 4 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Graf Yang | 17 | 89.47% | 2 | 50.00% |
Thomas Gleixner | 2 | 10.53% | 2 | 50.00% |
Total | 19 | 100.00% | 4 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Graf Yang | 360 | 86.75% | 3 | 25.00% |
Thomas Gleixner | 29 | 6.99% | 4 | 33.33% |
Mike Frysinger | 11 | 2.65% | 2 | 16.67% |
Bryan Wu | 8 | 1.93% | 1 | 8.33% |
Peter Zijlstra | 6 | 1.45% | 1 | 8.33% |
Arun Sharma | 1 | 0.24% | 1 | 8.33% |
Total | 415 | 100.00% | 12 | 100.00% |