mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 13:06:59 +02:00
bpf_jit_comp64.c uses patch_text(), so add <asm/patch.h> to it
to prevent the build error:
../arch/riscv/net/bpf_jit_comp64.c: In function 'bpf_arch_text_poke':
../arch/riscv/net/bpf_jit_comp64.c:691:23: error: implicit declaration of function 'patch_text'; did you mean 'path_get'? [-Werror=implicit-function-declaration]
691 | ret = patch_text(ip, new_insns, ninsns);
| ^~~~~~~~~~
Fixes:
|
||
|---|---|---|
| .. | ||
| boot | ||
| configs | ||
| errata | ||
| include | ||
| kernel | ||
| kvm | ||
| lib | ||
| mm | ||
| net | ||
| purgatory | ||
| Kbuild | ||
| Kconfig | ||
| Kconfig.debug | ||
| Kconfig.erratas | ||
| Kconfig.socs | ||
| Makefile | ||