diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2023-06-30 21:34:34 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-08-18 10:18:50 -0700 |
commit | f58a2dd8d5d01b3ece13af7915745b8e7de20afe (patch) | |
tree | 6280a4cc025618d4f7acc544f73baaa3bd393743 | |
parent | 4356b11ec0fffaa24331ad762e57547537ff3482 (diff) | |
download | linux-stable-f58a2dd8d5d01b3ece13af7915745b8e7de20afe.tar.gz linux-stable-f58a2dd8d5d01b3ece13af7915745b8e7de20afe.tar.bz2 linux-stable-f58a2dd8d5d01b3ece13af7915745b8e7de20afe.zip |
proc: skip proc-empty-vm on anything but amd64 and i386
This test is arch specific, requires "munmap everything" primitive.
Link: https://lkml.kernel.org/r/20230630183434.17434-2-adobriyan@gmail.com
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Björn Töpel <bjorn@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r-- | tools/testing/selftests/proc/proc-empty-vm.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/testing/selftests/proc/proc-empty-vm.c b/tools/testing/selftests/proc/proc-empty-vm.c index 3aea36c57800..dfbcb3ce2194 100644 --- a/tools/testing/selftests/proc/proc-empty-vm.c +++ b/tools/testing/selftests/proc/proc-empty-vm.c @@ -1,3 +1,4 @@ +#if defined __amd64__ || defined __i386__ /* * Copyright (c) 2022 Alexey Dobriyan <adobriyan@gmail.com> * @@ -402,3 +403,9 @@ int main(void) return rv; } +#else +int main(void) +{ + return 4; +} +#endif |