diff options
| author | 2013-04-04 14:59:01 +0100 | |
|---|---|---|
| committer | 2013-04-05 14:33:19 -0700 | |
| commit | da619f5575e111f176f9f6d888dbeaf3210ff1f2 (patch) | |
| tree | 74c64eab994f341196b4cece8c06b0c25a0b87ac /scripts/Makefile.thinlto | |
| parent | staging: comedi: set hw_dev in comedi_alloc_board_minor() (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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
