mirror of
https://github.com/armbian/linux.git
synced 2026-01-06 10:13:00 -08:00
[ Upstream commit 8a4fd1e492 ]
If we do something like try to print to the OF console from an NMI
while we're already in OpenFirmware, we'll deadlock on the spinlock.
Use a raw spinlock and disable NMIs when we take it.
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>