]> git.baikalelectronics.ru Git - kernel.git/commit
Blackfin: allow NMI watchdog to be used w/RETN as a scratch reg
authorGraf Yang <graf.yang@analog.com>
Wed, 17 Mar 2010 09:00:32 +0000 (09:00 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 22 May 2010 18:19:04 +0000 (14:19 -0400)
commitd7d5c4e991f2083540fd4f2ff9810773cc2b36f7
tree081191e6274817d2f3d9bee8b27b1f8f145b939f
parent73d81974631d345fcc64e5e079f7b9fd1bea9e2f
Blackfin: allow NMI watchdog to be used w/RETN as a scratch reg

NMIs are not safe to return from because many anomaly workarounds are
implemented by disabling interrupts.  The NMI obviously violates this
assumption.  Since the NMI watchdog never returns, we don't have to
worry about it clobbering RETN when it is being used as a scratch register
with the exception stack.

Signed-off-by: Graf Yang <graf.yang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/Kconfig.debug