x86: Allow x86-32 instruction decoder selftest on x86-64
authorMasami Hiramatsu <mhiramat@redhat.com>
Fri, 28 Aug 2009 22:13:19 +0000 (18:13 -0400)
committerFrederic Weisbecker <fweisbec@gmail.com>
Fri, 4 Sep 2009 16:14:04 +0000 (18:14 +0200)
commit50a482fbd96943516b7a2783900e8fe61a6425e7
tree78cccda3f21a85d7b409cd39d97cb28f120fc442
parent65e234ec2c4a0659ca22531dc1372a185f088517
x86: Allow x86-32 instruction decoder selftest on x86-64

Pass $(CONFIG_64BIT) to the x86 insn decoder selftest in case we are
decoding 32bit code on x86-64, which will happen when building kernel
with ARCH=i386 on x86-64.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Jim Keniston <jkenisto@us.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
LKML-Reference: <20090828221319.8778.88508.stgit@localhost.localdomain>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
arch/x86/tools/Makefile
arch/x86/tools/test_get_len.c