ALSA: pcm: Uninline snd_pcm_stream_lock() and _unlock()
authorTakashi Iwai <tiwai@suse.de>
Mon, 1 Sep 2014 09:19:37 +0000 (11:19 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 3 Sep 2014 12:04:18 +0000 (14:04 +0200)
commit7af142f752116e86adbe2073f2922d8265a77709
tree160e8e0b8c93fa08031100663e0de239138dc589
parent257f8cce5d40b811d229ed71602882baa0012808
ALSA: pcm: Uninline snd_pcm_stream_lock() and _unlock()

The previous commit for the non-atomic PCM ops added more codes to
snd_pcm_stream_lock() and its variants.  Since they are inlined
functions, it resulted in a significant code size bloat.  For reducing
the size bloat, this patch changes the inline functions to the normal
function calls.  The export of rwlock and rwsem are removed as well,
since they are referred only in pcm_native.c now.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/pcm.h
sound/core/pcm_native.c