Commit 92efd6fe authored by Sami Tolvanen's avatar Sami Tolvanen Committed by Will Deacon
Browse files

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: default avatarSami Tolvanen <samitolvanen@google.com>
Link: https://lore.kernel.org/r/20250801001004.1859976-7-samitolvanen@google.com


Signed-off-by: default avatarAlexei 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: default avatarwei li <sirius.liwei@honor.corp-partner.google.com>
parent ecefe9a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment