diff options
author | Chuansheng Liu <chuansheng.liu@intel.com> | 2012-09-17 19:43:44 +0200 |
---|---|---|
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-09-21 02:04:50 +0200 |
commit | 80c9d03c22f13a17df67b4b99a83ed5e9acf6093 (patch) | |
tree | f12fb83065cf66ca699173a3520d5a37b7860054 /drivers/media/video/em28xx/em28xx-audio.c | |
parent | pstore/ftrace: Convert to its own enable/disable debugfs knob (diff) | |
download | linux-80c9d03c22f13a17df67b4b99a83ed5e9acf6093.tar.xz linux-80c9d03c22f13a17df67b4b99a83ed5e9acf6093.zip |
pstore: Avoid recursive spinlocks in the oops_in_progress case
Like 8250 driver, when pstore is registered as a console,
to avoid recursive spinlocks when panic happening, change the
spin_lock_irqsave to spin_trylock_irqsave when oops_in_progress
is true.
Signed-off-by: liu chuansheng <chuansheng.liu@intel.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'drivers/media/video/em28xx/em28xx-audio.c')
0 files changed, 0 insertions, 0 deletions