diff options
Diffstat (limited to 'tools/testing/selftests/x86/trivial_32bit_program.c')
-rw-r--r-- | tools/testing/selftests/x86/trivial_32bit_program.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/testing/selftests/x86/trivial_32bit_program.c b/tools/testing/selftests/x86/trivial_32bit_program.c index 2e231beb0a39..fabdf0f51621 100644 --- a/tools/testing/selftests/x86/trivial_32bit_program.c +++ b/tools/testing/selftests/x86/trivial_32bit_program.c @@ -4,6 +4,10 @@ * GPL v2 */ +#ifndef __i386__ +# error wrong architecture +#endif + #include <stdio.h> int main() |