Skip to content

Commit

Permalink
arch/tile: remove inline marking of EXPORT_SYMBOL functions
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Denis Efremov authored and Chris Metcalf committed May 9, 2013
1 parent 52fbc77 commit 4833d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/tile/lib/spinlock_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ EXPORT_SYMBOL(arch_spin_unlock_wait);
* preserve the semantic that the same read lock can be acquired in an
* interrupt context.
*/
inline int arch_read_trylock(arch_rwlock_t *rwlock)
int arch_read_trylock(arch_rwlock_t *rwlock)
{
u32 val;
__insn_mtspr(SPR_INTERRUPT_CRITICAL_SECTION, 1);
Expand Down

0 comments on commit 4833d7f

Please sign in to comment.