arch/tile: remove inline marking of EXPORT_SYMBOL functions
authorDenis Efremov <yefremov.denis@gmail.com>
Thu, 9 May 2013 10:36:53 +0000 (14:36 +0400)
committerChris Metcalf <cmetcalf@tilera.com>
Thu, 9 May 2013 17:53:45 +0000 (13:53 -0400)
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>
arch/tile/lib/spinlock_32.c

index b16ac49a968e66168ee59755d8b5316922b025f6..b34f79aada48efca7a1b350894f0dd7f4b98a7f4 100644 (file)
@@ -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);