From f58a2dd8d5d01b3ece13af7915745b8e7de20afe Mon Sep 17 00:00:00 2001 From: Alexey Dobriyan Date: Fri, 30 Jun 2023 21:34:34 +0300 Subject: proc: skip proc-empty-vm on anything but amd64 and i386 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Cc: Björn Töpel Signed-off-by: Andrew Morton --- tools/testing/selftests/proc/proc-empty-vm.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tools') 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 * @@ -402,3 +403,9 @@ int main(void) return rv; } +#else +int main(void) +{ + return 4; +} +#endif -- cgit v1.2.3