BACKPORT: cfi: Move BPF CFI types and helpers to generic code
Instead of duplicating the same code for each architecture, move the CFI type hash variables for BPF function types and related helper functions to generic CFI code, and allow architectures to override the function definitions if needed. Signed-off-by:Sami Tolvanen <samitolvanen@google.com> Link: https://lore.kernel.org/r/20250801001004.1859976-7-samitolvanen@google.com Signed-off-by:
Alexei Starovoitov <ast@kernel.org> Bug: 452811419 Change-Id: I877c18f139fb0c16cb6163fd77a6265743875293 (cherry picked from commit f1befc82) [liwei: fix some conflicts and include <linux/cfi.h> to fix build issues for x86] Signed-off-by:
wei li <sirius.liwei@honor.corp-partner.google.com>
Loading
Please sign in to comment