[AVR32] Fix NMI handler
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Tue, 13 Mar 2007 09:06:37 +0000 (10:06 +0100)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Fri, 27 Apr 2007 11:44:13 +0000 (13:44 +0200)
commit92b728c147adb8c690b520304f4c9ee3eee43c21
treef8b3e2f27f536b44694dadcf976e291aff7abeb7
parent623b0355d5b1f9c6d05005b649a2f3a7b9fd7816
[AVR32] Fix NMI handler

Fix a problem with the NMI handler entry code related to the NMI handler
sharing some code with the exception handlers. This is not a good idea
because the RSR and RAR registers are not the same, and the NMI handler
runs with interrupts masked the whole time so there's no need to check
for pending work.

Open-code the low-level NMI handling logic instead so that the pt_regs
layout is actually correct when the higher-level handler is called.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
arch/avr32/kernel/entry-avr32b.S