diff options
| author | Dominik Brodowski <[email protected]> | 2018-02-13 09:15:19 +0100 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2018-02-15 01:15:48 +0100 |
| commit | 9279ddf23ce78ff2676e8e8e19fec0f022c26d04 (patch) | |
| tree | 508dfb0d9f887e60b6f065428e1952aa4c3658d3 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
| parent | 4105c69703cdeba76f384b901712c9397b04e9c2 (diff) | |
selftests/x86: Disable tests requiring 32-bit support on pure 64-bit systems
The ldt_gdt and ptrace_syscall selftests, even in their 64-bit variant, use
hard-coded 32-bit syscall numbers and call "int $0x80".
This will fail on 64-bit systems with CONFIG_IA32_EMULATION=y disabled.
Therefore, do not build these tests if we cannot build 32-bit binaries
(which should be a good approximation for CONFIG_IA32_EMULATION=y being enabled).
Signed-off-by: Dominik Brodowski <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Dmitry Safonov <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions