traps: i386: make do_trap more like x86_64
authorAlexander van Heukelum <heukelum@fastmail.fm>
Fri, 26 Sep 2008 12:03:08 +0000 (14:03 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 13 Oct 2008 08:22:34 +0000 (10:22 +0200)
commit3c1326f8a6d8b9815ca88c95441330f96eef7352
treed46c9e18d19550668d66dd065e9f187ca9a3ed57
parent69c89b5bf7f253756f3056e84b8603abe1c50f5b
traps: i386: make do_trap more like x86_64

This patch hardcodes which traps should be forwarded to
handle_vm86_trap in do_trap. This allows to remove the
vm86 parameter from the i386-version of do_trap, which
makes the DO_VM86_ERROR and DO_VM86_ERROR_INFO macros
unnecessary.

x86_64 part is whitespace only.

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