arch/tile: avoid accidentally unmasking NMI-type interrupt accidentally
authorChris Metcalf <cmetcalf@tilera.com>
Fri, 30 Mar 2012 20:29:06 +0000 (16:29 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Mon, 2 Apr 2012 16:14:03 +0000 (12:14 -0400)
commite1d5c0195075abaa45cd04ca397dbeaa0d18c490
tree6ed1ccb2ab7cfda0dae569f3adbc667e7642dbe3
parentb1760c847ff9d04fba7cdbef005a0ad805311c6d
arch/tile: avoid accidentally unmasking NMI-type interrupt accidentally

The return path as we reload registers and core state requires that r30
hold a boolean indicating whether we are returning from an NMI, but in a
couple of cases we weren't setting this properly, with the result that we
could accidentally unmask the NMI interrupt(s), which could cause confusion.
Now we set r30 in every place where we jump into the interrupt return path.

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