mirror of
https://github.com/torvalds/linux.git
synced 2026-12-01 11:03:37 +00:00
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 <[email protected]> Signed-off-by: Anton Vorontsov <[email protected]>