Skip to content
Commit 588de8c6 authored by George Guo's avatar George Guo Committed by Will Deacon
Browse files

arm64: simplify arch_static_branch/_jump function



Extracted the jump table definition code from the arch_static_branch and
arch_static_branch_jump functions into a macro JUMP_TABLE_ENTRY to reduce
code duplication.

Signed-off-by: default avatarGeorge Guo <guodongtai@kylinos.cn>
Link: https://lore.kernel.org/r/20240430085655.2798551-2-dongtai.guo@linux.dev


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 1279e8d0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment