commit | 80c9d03c22f13a17df67b4b99a83ed5e9acf6093 | [log] [tgz] |
---|---|---|
author | Chuansheng Liu <chuansheng.liu@intel.com> | Tue Sep 18 01:43:44 2012 +0800 |
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | Thu Sep 20 17:04:50 2012 -0700 |
tree | f12fb83065cf66ca699173a3520d5a37b7860054 | |
parent | 65f8c95e46a1827ae8bbc52a817ea308dd7d65ae [diff] |
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>