diff options
author | Xiao Wang <[email protected]> | 2024-05-23 11:18:35 +0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2024-05-24 17:16:56 +0200 |
commit | e944fc8152744a41dc62e720995538e48b053bb9 (patch) | |
tree | f3e3ab4a55d73ebb1665384c0713b70ef29c07b8 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | c12603e76ef666ce5c51a9d6faf155c9e3de7601 (diff) |
riscv, bpf: Use STACK_ALIGN macro for size rounding up
Use the macro STACK_ALIGN that is defined in asm/processor.h for stack size
rounding up, just like bpf_jit_comp32.c does.
Signed-off-by: Xiao Wang <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Reviewed-by: Pu Lehui <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions