diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2016-10-21 13:39:03 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-24 18:04:18 (GMT) |
commit | ee9e83973d54d94ff776892219b723de54429548 (patch) | |
tree | 45425def242ba845d41ca013d58ba8f44814e628 /arch | |
parent | 844bdf1b2a2f1790eba9e679bda1c632ee744d4e (diff) | |
download | linux-ee9e83973d54d94ff776892219b723de54429548.tar.xz |
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')
-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 d9c5876..8011e79 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]" |