diff options
-rw-r--r-- | arch/tile/lib/spinlock_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/tile/lib/spinlock_32.c b/arch/tile/lib/spinlock_32.c index b16ac49a968e..b34f79aada48 100644 --- a/arch/tile/lib/spinlock_32.c +++ b/arch/tile/lib/spinlock_32.c | |||
@@ -101,7 +101,7 @@ EXPORT_SYMBOL(arch_spin_unlock_wait); | |||
101 | * preserve the semantic that the same read lock can be acquired in an | 101 | * preserve the semantic that the same read lock can be acquired in an |
102 | * interrupt context. | 102 | * interrupt context. |
103 | */ | 103 | */ |
104 | inline int arch_read_trylock(arch_rwlock_t *rwlock) | 104 | int arch_read_trylock(arch_rwlock_t *rwlock) |
105 | { | 105 | { |
106 | u32 val; | 106 | u32 val; |
107 | __insn_mtspr(SPR_INTERRUPT_CRITICAL_SECTION, 1); | 107 | __insn_mtspr(SPR_INTERRUPT_CRITICAL_SECTION, 1); |