]> git.baikalelectronics.ru Git - kernel.git/commit
tile: Enable NMIs on return from handle_nmi() without errors
authorZhigang Lu <zlu@tilera.com>
Mon, 27 Jan 2014 08:25:28 +0000 (16:25 +0800)
committerChris Metcalf <cmetcalf@tilera.com>
Fri, 7 Mar 2014 16:19:48 +0000 (11:19 -0500)
commit038ff169e1ed835a51c964568314654a7ccbca04
tree908c8edc92f82b4565ee0d36003d4b3b2afb0c63
parent6a4e847c9c9820280030ff3d523b7d085bdc371c
tile: Enable NMIs on return from handle_nmi() without errors

NMI interrupts mask ALL interrupts before calling the handler,
so we need to unmask NMIs according to the value handle_nmi() returns.
If it returns zero, the NMIs should be re-enabled; if it returns
a non-zero error, the NMIs should be disabled.

Signed-off-by: Zhigang Lu <zlu@tilera.com>
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/kernel/intvec_32.S
arch/tile/kernel/intvec_64.S