x86: Instruction decoder test should generate build warning
authorMasami Hiramatsu <mhiramat@redhat.com>
Mon, 16 Nov 2009 23:06:31 +0000 (18:06 -0500)
committerIngo Molnar <mingo@elte.hu>
Thu, 19 Nov 2009 20:40:13 +0000 (21:40 +0100)
commitce64c62074d945fe5f8a7f01bdc30125f994ea67
tree989f23f825eb706f2b86c1535433d2f9b314a95a
parent6b0cb5f9f7033c72b19697c33deab83f0dd9848d
x86: Instruction decoder test should generate build warning

Since some instructions are not decoded correctly by older
versions of objdump, it may cause false positive error in insn
decoder posttest.

This changes build error of insn decoder test to build warning.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: systemtap <systemtap@sources.redhat.com>
Cc: DLE <dle-develop@lists.sourceforge.net>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Randy Dunlap <rdunlap@xenotime.net>
Cc: Jim Keniston <jkenisto@us.ibm.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
LKML-Reference: <20091116230631.5250.41579.stgit@harusame>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/tools/test_get_len.c