diff options
| author | Dominik Brodowski <[email protected]> | 2018-02-11 12:10:10 +0100 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2018-02-13 09:04:55 +0100 |
| commit | 198ee8e17502da2634f7366395db1d77630e0219 (patch) | |
| tree | 3fb8542c88da183c08bbe2fb54964b31bcd97c22 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
| parent | b498c261107461d5c42140dfddd05df83d8ca078 (diff) | |
selftests/x86: Fix vDSO selftest segfault for vsyscall=none
The vDSO selftest tries to execute a vsyscall unconditionally, even if it
is not present on the test system (e.g. if booted with vsyscall=none or
with CONFIG_LEGACY_VSYSCALL_NONE=y set. Fix this by copying (and tweaking)
the vsyscall check from test_vsyscall.c
Signed-off-by: Dominik Brodowski <[email protected]>
Cc: Andrew Lutomirski <[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