summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/vm/hmm-tests.c
diff options
context:
space:
mode:
authorAxel Rasmussen <axelrasmussen@google.com>2022-08-19 22:19:29 +0300
committerShuah Khan <skhan@linuxfoundation.org>2022-10-05 20:05:17 +0300
commit0e29bc0ebaabf4e5270a23fd5ccce06fac3e140d (patch)
tree4ebc983e05273494307155c5d785d09dd06c6637 /tools/testing/selftests/vm/hmm-tests.c
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868 (diff)
downloadlinux-0e29bc0ebaabf4e5270a23fd5ccce06fac3e140d.tar.xz
selftests/vm: use top_srcdir instead of recomputing relative paths
In various places both in t/t/s/v/Makefile as well as some of the test sources, we were referring to headers or directories using some fairly long relative paths. Since we have a working top_srcdir variable though, which refers to the root of the kernel tree, we can clean up all of these "up and over" relative paths, just relying on the single variable instead. Signed-off-by: Axel Rasmussen <axelrasmussen@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/vm/hmm-tests.c')
-rw-r--r--tools/testing/selftests/vm/hmm-tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/vm/hmm-tests.c b/tools/testing/selftests/vm/hmm-tests.c
index 529f53b40296..98b949c279be 100644
--- a/tools/testing/selftests/vm/hmm-tests.c
+++ b/tools/testing/selftests/vm/hmm-tests.c
@@ -35,8 +35,8 @@
* This is a private UAPI to the kernel test module so it isn't exported
* in the usual include/uapi/... directory.
*/
-#include "../../../../lib/test_hmm_uapi.h"
-#include "../../../../mm/gup_test.h"
+#include <lib/test_hmm_uapi.h>
+#include <mm/gup_test.h>
struct hmm_buffer {
void *ptr;