Song Liu e581094167 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 <lkp@intel.com>
Signed-off-by: Song Liu <song@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20220321180009.1944482-3-song@kernel.org
2022-03-21 13:53:45 -07:00
..
2022-03-07 22:19:32 -08:00
2022-03-21 14:49:28 +01:00
2022-02-23 15:17:51 -08:00
2020-03-13 12:49:52 -07:00
2022-02-23 15:17:51 -08:00
2022-02-23 15:17:51 -08:00
2021-07-15 22:31:10 +02:00
2020-08-28 15:41:30 +02:00
2021-12-18 13:27:41 -08:00
2022-02-23 15:17:51 -08:00
2021-11-12 10:19:09 -08:00
2022-02-23 15:17:51 -08:00