]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit1581a75f4ab713c799be592fac0dd7faaadc31b3
treef8b3e2f27f536b44694dadcf976e291aff7abeb7
parent38864a814d3e1eb4e62d1a664adab6dfff2192e5
[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