diff options
| author | Ian Abbott <abbotti@mev.co.uk> | 2013-04-04 14:59:01 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-05 14:33:19 -0700 |
| commit | da619f5575e111f176f9f6d888dbeaf3210ff1f2 (patch) | |
| tree | 74c64eab994f341196b4cece8c06b0c25a0b87ac /tools/perf/scripts/python/bin | |
| parent | db2e3487a5fa1f650680c672e0742d943039d2cc (diff) | |
staging: comedi: change comedi_file_info_table_lock to mutex
The spin-lock `comedi_file_info_table_lock` is used to protect against
simultaneous modification and access of `comedi_file_info_table[]`.
Change it from a spin-lock to a mutex as it is only used in contexts
where sleeping is allowed.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
