summaryrefslogtreecommitdiffstats
path: root/drivers/devfreq
diff options
context:
space:
mode:
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>2021-10-06 01:55:20 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2021-10-07 18:52:33 +1100
commit4549c3ea3160fa8b3f37dfe2f957657bb265eda9 (patch)
tree7c483a082777354694a7488ba5e5de32e9e5bbc5 /drivers/devfreq
parent23c216b335d1fbd716076e8263b54a714ea3cf0e (diff)
downloadlinux-4549c3ea3160fa8b3f37dfe2f957657bb265eda9.tar.gz
linux-4549c3ea3160fa8b3f37dfe2f957657bb265eda9.tar.bz2
linux-4549c3ea3160fa8b3f37dfe2f957657bb265eda9.zip
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 <naveen.n.rao@linux.vnet.ibm.com> Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu> Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/442b69a34ced32ca346a0d9a855f3f6cfdbbbd41.1633464148.git.naveen.n.rao@linux.vnet.ibm.com
Diffstat (limited to 'drivers/devfreq')
0 files changed, 0 insertions, 0 deletions