aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorJisheng Zhang <[email protected]>2022-10-06 15:55:41 +0800
committerWill Deacon <[email protected]>2022-11-07 15:59:14 +0000
commitefbc95787cbeaaad66cde36e6acd2535bf036d56 (patch)
treebf09bdfcf1922d5a55c731f6f75a52243a1f8e02 /lib/mpi/mpiutil.c
parentf0c4d9fc9cc9462659728d168387191387e903cc (diff)
arm64: jump_label: mark arguments as const to satisfy asm constraints
Inspired by x86 commit 864b435514b2("x86/jump_label: Mark arguments as const to satisfy asm constraints"), mark arch_static_branch()'s and arch_static_branch_jump()'s arguments as const to satisfy asm constraints. And Steven in [1] also pointed out that "The "i" constraint needs to be a constant." Tested with building a simple external kernel module with "O0". [1]https://lore.kernel.org/all/[email protected]/ Signed-off-by: Jisheng Zhang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions