diff options
author | Denis Efremov <yefremov.denis@gmail.com> | 2013-05-09 12:36:53 +0200 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2013-05-09 19:53:45 +0200 |
commit | 4833d7f0a86fd9a44f98bedf0c639e1da070d3a0 (patch) | |
tree | 093b245747d57ab4f131ac125cf3218cbddcd2ab /arch/tile | |
parent | rtc: rtc-tile: add missing platform_device_unregister() when module exit (diff) | |
download | linux-4833d7f0a86fd9a44f98bedf0c639e1da070d3a0.tar.xz linux-4833d7f0a86fd9a44f98bedf0c639e1da070d3a0.zip |
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>
Diffstat (limited to 'arch/tile')
-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); * 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); |