diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2016-10-21 15:39:03 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-24 20:04:18 +0200 |
commit | ee9e83973d54d94ff776892219b723de54429548 (patch) | |
tree | 45425def242ba845d41ca013d58ba8f44814e628 /arch/sparc/include | |
parent | sparc64: Fix old style declaration GCC warnings (diff) | |
download | linux-ee9e83973d54d94ff776892219b723de54429548.tar.xz linux-ee9e83973d54d94ff776892219b723de54429548.zip |
sparc32: Fix old style declaration GCC warnings
Fix [-Wold-style-declaration] GCC warnings by moving the inline keyword
before the return type.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include')
-rw-r--r-- | arch/sparc/include/asm/spinlock_32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/spinlock_32.h b/arch/sparc/include/asm/spinlock_32.h index d9c5876c6121..8011e79f59c9 100644 --- a/arch/sparc/include/asm/spinlock_32.h +++ b/arch/sparc/include/asm/spinlock_32.h @@ -134,7 +134,7 @@ static inline void arch_write_lock(arch_rwlock_t *rw) *(volatile __u32 *)&lp->lock = ~0U; } -static void inline arch_write_unlock(arch_rwlock_t *lock) +static inline void arch_write_unlock(arch_rwlock_t *lock) { __asm__ __volatile__( " st %%g0, [%0]" |