diff options
author | Naveen N. Rao <[email protected]> | 2021-10-06 01:55:20 +0530 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2021-10-07 18:52:33 +1100 |
commit | 4549c3ea3160fa8b3f37dfe2f957657bb265eda9 (patch) | |
tree | 7c483a082777354694a7488ba5e5de32e9e5bbc5 /arch/powerpc/net/bpf_jit_comp.c | |
parent | 23c216b335d1fbd716076e8263b54a714ea3cf0e (diff) |
powerpc/lib: Add helper to check if offset is within conditional branch range
Add a helper to check if a given offset is within the branch range for a
powerpc conditional branch instruction, and update some sites to use the
new helper.
Signed-off-by: Naveen N. Rao <[email protected]>
Reviewed-by: Christophe Leroy <[email protected]>
Acked-by: Song Liu <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/442b69a34ced32ca346a0d9a855f3f6cfdbbbd41.1633464148.git.naveen.n.rao@linux.vnet.ibm.com
Diffstat (limited to 'arch/powerpc/net/bpf_jit_comp.c')
0 files changed, 0 insertions, 0 deletions