Skip to content
Commit 8a4fd1e4 authored by David S. Miller's avatar David S. Miller
Browse files

sparc64: Make prom entry spinlock NMI safe.



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: default avatarDavid S. Miller <davem@davemloft.net>
parent c7d5a005
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment