aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64/kernel/traps.c
diff options
context:
space:
mode:
authorChuck Ebbert <76306.1226@compuserve.com>2006-01-11 16:46:00 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-11 22:05:00 -0500
commit100c0e36852a771864c56c31b260b7810b554170 (patch)
treee1eb184d7e390b151aab1b13f088849e8bff9ce6 /arch/x86_64/kernel/traps.c
parent68209407856507cda9d085470e8d28542ed1a941 (diff)
[PATCH] x86_64: "invalid operand" -> "invalid opcode"
The manual says Int 6 is "invalid opcode", not "invalid operand". Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64/kernel/traps.c')
-rw-r--r--arch/x86_64/kernel/traps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/traps.c b/arch/x86_64/kernel/traps.c
index 5dee23ba074e..08325b1f871d 100644
--- a/arch/x86_64/kernel/traps.c
+++ b/arch/x86_64/kernel/traps.c
@@ -508,7 +508,7 @@ asmlinkage void do_##name(struct pt_regs * regs, long error_code) \
508DO_ERROR_INFO( 0, SIGFPE, "divide error", divide_error, FPE_INTDIV, regs->rip) 508DO_ERROR_INFO( 0, SIGFPE, "divide error", divide_error, FPE_INTDIV, regs->rip)
509DO_ERROR( 4, SIGSEGV, "overflow", overflow) 509DO_ERROR( 4, SIGSEGV, "overflow", overflow)
510DO_ERROR( 5, SIGSEGV, "bounds", bounds) 510DO_ERROR( 5, SIGSEGV, "bounds", bounds)
511DO_ERROR_INFO( 6, SIGILL, "invalid operand", invalid_op, ILL_ILLOPN, regs->rip) 511DO_ERROR_INFO( 6, SIGILL, "invalid opcode", invalid_op, ILL_ILLOPN, regs->rip)
512DO_ERROR( 7, SIGSEGV, "device not available", device_not_available) 512DO_ERROR( 7, SIGSEGV, "device not available", device_not_available)
513DO_ERROR( 9, SIGFPE, "coprocessor segment overrun", coprocessor_segment_overrun) 513DO_ERROR( 9, SIGFPE, "coprocessor segment overrun", coprocessor_segment_overrun)
514DO_ERROR(10, SIGSEGV, "invalid TSS", invalid_TSS) 514DO_ERROR(10, SIGSEGV, "invalid TSS", invalid_TSS)