From: Chuck Ebbert <76306.1226@compuserve.com> Date: Wed, 11 Jan 2006 21:46:00 +0000 (+0100) Subject: [PATCH] x86_64: "invalid operand" -> "invalid opcode" X-Git-Tag: v2.6.16-rc1~308 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=100c0e36852a771864c56c31b260b7810b554170;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Linus Torvalds --- diff --git a/arch/x86_64/kernel/traps.c b/arch/x86_64/kernel/traps.c index 5dee23ba074..08325b1f871 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) \ DO_ERROR_INFO( 0, SIGFPE, "divide error", divide_error, FPE_INTDIV, regs->rip) DO_ERROR( 4, SIGSEGV, "overflow", overflow) DO_ERROR( 5, SIGSEGV, "bounds", bounds) -DO_ERROR_INFO( 6, SIGILL, "invalid operand", invalid_op, ILL_ILLOPN, regs->rip) +DO_ERROR_INFO( 6, SIGILL, "invalid opcode", invalid_op, ILL_ILLOPN, regs->rip) DO_ERROR( 7, SIGSEGV, "device not available", device_not_available) DO_ERROR( 9, SIGFPE, "coprocessor segment overrun", coprocessor_segment_overrun) DO_ERROR(10, SIGSEGV, "invalid TSS", invalid_TSS)