mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]> Signed-off-by: Chris Metcalf <[email protected]>
This commit is contained in:
parent
52fbc7796a
commit
4833d7f0a8
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue