diff options
author | Ben Hutchings <ben.hutchings@codethink.co.uk> | 2017-10-18 00:45:49 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-10-18 08:01:46 +0200 |
commit | 8009d506a1dd00cf436b0c4cca0dcec130580a21 (patch) | |
tree | 209ca105955d913807eb48c6246f275b63c42e50 /scripts/asn1_compiler.c | |
parent | 9bb201a5d5acc733943e8af7151cceab9d976a69 (diff) | |
download | linux-8009d506a1dd00cf436b0c4cca0dcec130580a21.tar.gz linux-8009d506a1dd00cf436b0c4cca0dcec130580a21.tar.bz2 linux-8009d506a1dd00cf436b0c4cca0dcec130580a21.zip |
ALSA: seq: Enable 'use' locking in all configurations
The 'use' locking macros are no-ops if neither SMP or SND_DEBUG is
enabled. This might once have been OK in non-preemptible
configurations, but even in that case snd_seq_read() may sleep while
relying on a 'use' lock. So always use the proper implementations.
Cc: stable@vger.kernel.org
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/asn1_compiler.c')
0 files changed, 0 insertions, 0 deletions