]> err.no Git - linux-2.6/commitdiff
[PATCH] i386: "invalid operand" -> "invalid opcode"
authorChuck Ebbert <76306.1226@compuserve.com>
Wed, 4 Jan 2006 03:36:14 +0000 (22:36 -0500)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 5 Jan 2006 00:47:42 +0000 (16:47 -0800)
According to the manual, INT 6 is "invalid opcode", not "invalid operand".

Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/traps.c

index f0dffa03fbbaec9d1efec46f02441b0427eb92f8..ab0e9430f775cfd22cce9b39844b6e8f1b147798 100644 (file)
@@ -452,7 +452,7 @@ DO_VM86_ERROR( 3, SIGTRAP, "int3", int3)
 #endif
 DO_VM86_ERROR( 4, SIGSEGV, "overflow", overflow)
 DO_VM86_ERROR( 5, SIGSEGV, "bounds", bounds)
-DO_ERROR_INFO( 6, SIGILL,  "invalid operand", invalid_op, ILL_ILLOPN, regs->eip)
+DO_ERROR_INFO( 6, SIGILL,  "invalid opcode", invalid_op, ILL_ILLOPN, regs->eip)
 DO_ERROR( 9, SIGFPE,  "coprocessor segment overrun", coprocessor_segment_overrun)
 DO_ERROR(10, SIGSEGV, "invalid TSS", invalid_TSS)
 DO_ERROR(11, SIGBUS,  "segment not present", segment_not_present)