diff options
| author | Ryan Roberts <ryan.roberts@arm.com> | 2023-07-24 09:25:17 +0100 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2023-08-18 10:12:42 -0700 |
| commit | e515bce98deb06b392ca79b5c342a849372be7ae (patch) | |
| tree | 7a2e779bcbcf051bd638d50652681a37aa06a4de /tools/perf/scripts/python | |
| parent | f6dd4e223d8798319d0e2815a468b9fb0a276446 (diff) | |
| download | linux-e515bce98deb06b392ca79b5c342a849372be7ae.tar.gz linux-e515bce98deb06b392ca79b5c342a849372be7ae.zip | |
selftests/mm: enable mrelease_test for arm64
mrelease_test defaults to defining __NR_pidfd_open and
__NR_process_mrelease syscall numbers to -1, if they are not defined
anywhere else, and the suite would then be marked as skipped as a result.
arm64 (at least the stock debian toolchain that I'm using) requires
including <sys/syscall.h> to pull in the defines for these syscalls. So
let's add this header. With this in place, the test is passing on arm64.
Link: https://lkml.kernel.org/r/20230724082522.1202616-4-ryan.roberts@arm.com
Signed-off-by: Ryan Roberts <ryan.roberts@arm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Florent Revest <revest@chromium.org>
Cc: Jérôme Glisse <jglisse@redhat.com>
Cc: John Hubbard <jhubbard@nvidia.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Peter Xu <peterx@redhat.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
