aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/api/debug.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <[email protected]>2023-01-09 17:12:55 +0000
committerAndrew Morton <[email protected]>2023-01-19 01:12:59 +0000
commitf4d9139f1394cbe2de158ab8771fea4e587004d4 (patch)
tree24c0f67582fd9e91bb4e8fee5b37573919308633 /tools/lib/api/debug.c
parentmm/debug: use valid physical memory for pmd/pud tests (diff)
downloadkernel-f4d9139f1394cbe2de158ab8771fea4e587004d4.tar.gz
kernel-f4d9139f1394cbe2de158ab8771fea4e587004d4.zip
selftests/mm: define MADV_PAGEOUT to fix compilation issues
If MADV_PAGEOUT is not defined (e.g., on AlmaLinux 8), compilation will fail. Let's fix that like khugepaged.c does by conditionally defining MADV_PAGEOUT. Link: https://lkml.kernel.org/r/[email protected] Fixes: 69c66add5663 ("selftests/vm: anon_cow: test COW handling of anonymous memory") Signed-off-by: David Hildenbrand <[email protected]> Reported-by: Mirsad Goran Todorovac <[email protected]> Cc: Shuah Khan <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions