i386: expand exception 3 DO_TRAP macro
authorAlexander van Heukelum <heukelum@fastmail.fm>
Tue, 9 Sep 2008 19:55:58 +0000 (21:55 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 13 Oct 2008 08:20:08 +0000 (10:20 +0200)
commitb94da1e4b7d396abe10ce4d566f1a5f623602c21
treeccd0e3c5a96501d98d04dcd8e33a7aa4f6c70c8c
parent976382dcbe3a2233f48cda5b0840874f43a30825
i386: expand exception 3 DO_TRAP macro

The int3 exception was already takes as an interrupt and
do_int3 does not fit in the new DO_ERROR macro. This patch
just expands the DO_TRAP macro and rearranges the code a
bit.

No functional changes intended.

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