commit | ba67823163c963de7f1f2d87526c9c87f3a3ea0b | [log] [tgz] |
---|---|---|
author | Zhigang Lu <zlu@tilera.com> | Mon Jan 27 16:25:28 2014 +0800 |
committer | Chris Metcalf <cmetcalf@tilera.com> | Fri Mar 07 11:19:48 2014 -0500 |
tree | 908c8edc92f82b4565ee0d36003d4b3b2afb0c63 | |
parent | 8e3441ebab48c3537b1a9ae06fb7616a3332bd35 [diff] |
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>