aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/x86/trivial_64bit_program.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2015-05-26selftest, x86: fix incorrect commentMartin Kelly1-1/+1
The current comment indicates it's checking for a 32-bit build environment, but it actually checks for a 64-bit environment. Fix this. Signed-off-by: Martin Kelly <martkell@amazon.com> Acked-by: Andy Lutomirski <luto@kernel.org> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
2015-05-12selftests, x86: Rework x86 target architecture detectionAndy Lutomirski1-0/+18
We currently fail to build on a non-multilib x86_64 target. We print a helpful error, but it's nicer to allow the build to succeed. Fix it and improve cross-compilation support by detecting architecture support directly and building only the relevant tests. Signed-off-by: Andy Lutomirski <luto@kernel.org> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>