diff options
author | Alexey Dobriyan <[email protected]> | 2023-06-30 21:34:34 +0300 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-08-18 10:18:50 -0700 |
commit | f58a2dd8d5d01b3ece13af7915745b8e7de20afe (patch) | |
tree | 6280a4cc025618d4f7acc544f73baaa3bd393743 | |
parent | 4356b11ec0fffaa24331ad762e57547537ff3482 (diff) |
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/[email protected]
Signed-off-by: Alexey Dobriyan <[email protected]>
Cc: Björn Töpel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
-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 <[email protected]> * @@ -402,3 +403,9 @@ int main(void) return rv; } +#else +int main(void) +{ + return 4; +} +#endif |