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)
commitba67823163c963de7f1f2d87526c9c87f3a3ea0b
tree908c8edc92f82b4565ee0d36003d4b3b2afb0c63
parent8e3441ebab48c3537b1a9ae06fb7616a3332bd35
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