diff options
author | Alexander van Heukelum <heukelum@fastmail.fm> | 2008-09-26 14:03:08 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-13 10:22:34 +0200 |
commit | 3c1326f8a6d8b9815ca88c95441330f96eef7352 (patch) | |
tree | d46c9e18d19550668d66dd065e9f187ca9a3ed57 /arch/x86/kernel/traps_64.c | |
parent | 69c89b5bf7f253756f3056e84b8603abe1c50f5b (diff) | |
download | op-kernel-dev-3c1326f8a6d8b9815ca88c95441330f96eef7352.zip op-kernel-dev-3c1326f8a6d8b9815ca88c95441330f96eef7352.tar.gz |
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>
Diffstat (limited to 'arch/x86/kernel/traps_64.c')
-rw-r--r-- | arch/x86/kernel/traps_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/traps_64.c b/arch/x86/kernel/traps_64.c index 7d59559..1efd1ea 100644 --- a/arch/x86/kernel/traps_64.c +++ b/arch/x86/kernel/traps_64.c @@ -640,7 +640,7 @@ kernel_trap: return; } -#define DO_ERROR(trapnr, signr, str, name) \ +#define DO_ERROR(trapnr, signr, str, name) \ asmlinkage void do_##name(struct pt_regs *regs, long error_code) \ { \ if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) \ |