diff options
author | Alexei Starovoitov <[email protected]> | 2024-03-14 19:18:33 -0700 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2024-03-15 14:24:03 -0700 |
commit | 9a2d5a966b47e5657b22dfa257365b7ef2abc3c0 (patch) | |
tree | 091be020ed052c2d6ab1a421391e4af201406b89 /tools/perf/scripts/python | |
parent | 10ebe835c937a11870690aa44c7c970fe906ff54 (diff) |
selftests/bpf: Remove hard coded PAGE_SIZE macro.
Remove hard coded PAGE_SIZE.
Add #include <sys/user.h> instead (that works on x86-64 and s390)
and fallback to slow getpagesize() for aarch64.
Signed-off-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Stanislav Fomichev <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions