projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ALSA] Fix races in PCM OSS emulation
[deliverable/linux.git]
/
include
/
sound
/
pcm_oss.h
diff --git
a/include/sound/pcm_oss.h
b/include/sound/pcm_oss.h
index c854647b6f3c9e416db5d4d21872e5f73d5085b0..1cd4f64cdf31529d60dbb91d7fa74bad6420d4f0 100644
(file)
--- a/
include/sound/pcm_oss.h
+++ b/
include/sound/pcm_oss.h
@@
-56,6
+56,7
@@
struct snd_pcm_oss_runtime {
size_t mmap_bytes;
char *buffer; /* vmallocated period */
size_t buffer_used; /* used length from period buffer */
+ struct mutex params_lock;
#ifdef CONFIG_SND_PCM_OSS_PLUGINS
struct snd_pcm_plugin *plugin_first;
struct snd_pcm_plugin *plugin_last;
This page took
0.024476 seconds
and
5
git commands to generate.