Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] i386: "invalid operand" -> "invalid opcode"

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>

authored by

Chuck Ebbert and committed by
Linus Torvalds
631b0347 3adfd4e2

+1 -1
+1 -1
arch/i386/kernel/traps.c
··· 452 452 #endif 453 453 DO_VM86_ERROR( 4, SIGSEGV, "overflow", overflow) 454 454 DO_VM86_ERROR( 5, SIGSEGV, "bounds", bounds) 455 - DO_ERROR_INFO( 6, SIGILL, "invalid operand", invalid_op, ILL_ILLOPN, regs->eip) 455 + DO_ERROR_INFO( 6, SIGILL, "invalid opcode", invalid_op, ILL_ILLOPN, regs->eip) 456 456 DO_ERROR( 9, SIGFPE, "coprocessor segment overrun", coprocessor_segment_overrun) 457 457 DO_ERROR(10, SIGSEGV, "invalid TSS", invalid_TSS) 458 458 DO_ERROR(11, SIGBUS, "segment not present", segment_not_present)