traps: x86_64: add TRACE_IRQS_OFF in error_entry
authorAlexander van Heukelum <heukelum@fastmail.fm>
Fri, 26 Sep 2008 12:03:02 +0000 (14:03 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 13 Oct 2008 08:21:53 +0000 (10:21 +0200)
commit6b11d4ef3e4d6ce83fb177aa50fdf385abb17d1a
treee162ee00eb7cbd3020d471370c51b728c316983d
parent2e42060c19cb79adacc48beb5e9ec5361df976a2
traps: x86_64: add TRACE_IRQS_OFF in error_entry

Add TRACE_IRQS_OFF just before entering the C code.

All exceptions are taken via interrupt gates. If irq tracing is
enabled, it should be notified as soon as possible. Interrupts
are only (conditionally) re-enabled in C code.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/entry_64.S