Commit 4833d7f0a86fd9a44f98bedf0c639e1da070d3a0
Committed by
Chris Metcalf
1 parent
52fbc7796a
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
arch/tile: remove inline marking of EXPORT_SYMBOL functions
EXPORT_SYMBOL and inline directives are contradictory to each other. The patch fixes this inconsistency. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Denis Efremov <yefremov.denis@gmail.com> Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
arch/tile/lib/spinlock_32.c
... | ... | @@ -101,7 +101,7 @@ |
101 | 101 | * preserve the semantic that the same read lock can be acquired in an |
102 | 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 | 106 | u32 val; |
107 | 107 | __insn_mtspr(SPR_INTERRUPT_CRITICAL_SECTION, 1); |