diff options
author | David S. Miller <davem@davemloft.net> | 2010-03-03 09:06:03 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-04-01 15:58:16 -0700 |
commit | a6c4c1c5057d956af87679861f5eeb80c72e3a5e (patch) | |
tree | 6f98c62ed780865a8e2955240bc03399378f25fd /security | |
parent | 8c2b12e12010928b6c5dd06447eccb99b0629515 (diff) | |
download | lwn-a6c4c1c5057d956af87679861f5eeb80c72e3a5e.tar.gz lwn-a6c4c1c5057d956af87679861f5eeb80c72e3a5e.zip |
sparc64: Make prom entry spinlock NMI safe.
[ Upstream commit 8a4fd1e4922413cfdfa6c51a59efb720d904a5eb ]
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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions