diff options
author | Song Liu <[email protected]> | 2022-03-21 11:00:09 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2022-03-21 13:53:45 -0700 |
commit | e581094167beb674c8a3bc2c27362f50dc5dd617 (patch) | |
tree | 4c79e4a7c3007fab728afc50e74cf59017066cc4 /net/lapb/lapb_timer.c | |
parent | 96805674e5624b3c79780a2b41c7a3d6bc38dc76 (diff) |
bpf: Fix bpf_prog_pack when PMU_SIZE is not defined
PMD_SIZE is not available in some special config, e.g. ARCH=arm with
CONFIG_MMU=n. Use bpf_prog_pack of PAGE_SIZE in these cases.
Fixes: ef078600eec2 ("bpf: Select proper size for bpf_prog_pack")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions