From: Chuansheng Liu Date: Mon, 17 Sep 2012 17:43:44 +0000 (+0800) Subject: pstore: Avoid recursive spinlocks in the oops_in_progress case X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~4^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80c9d03c22f13a17df67b4b99a83ed5e9acf6093;p=pandora-kernel.git 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 Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed