x86, traps: split out math_error and simd_math_error
authorAlexander van Heukelum <heukelum@fastmail.fm>
Tue, 30 Sep 2008 16:41:34 +0000 (18:41 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 13 Oct 2008 08:33:18 +0000 (10:33 +0200)
commita28680b4b821a262fd3b5e57a28c148b5f9e662a
tree9ec2e23d1993636e33c0a5a172b4743c4ed37bdd
parent6fcbede3fdfbd83d8de97296286f5a9ff5a8f371
x86, traps: split out math_error and simd_math_error

Split out math_error from do_coprocessor_error and simd_math_error
from do_simd_coprocessor_error, like on i386. While at it, add the
"error_code" parameter to do_coprocessor_error, do_simd_coprocessor_error
and do_spurious_interrupt_bug.

This does not change the generated code, but brings the declarations in
line with all the other trap handlers.

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