mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 05:04:09 +08:00
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>
This commit is contained in:
parent
4356b11ec0
commit
f58a2dd8d5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user