summaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>2017-02-08 11:57:29 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2017-02-10 05:28:03 +0300
commitc233f5979b3dbb39a5b2473b5fcaf58baec8f1bd (patch)
tree60ab99c5c0d6e7c4b3403d58bd7af6c5e5d0d871 /arch/powerpc/lib/code-patching.c
parent438cc81a41e8c2905d0f4f300d4690445b2ab240 (diff)
downloadlinux-c233f5979b3dbb39a5b2473b5fcaf58baec8f1bd.tar.xz
powerpc/bpf: Introduce __PPC_SH64()
Introduce __PPC_SH64() as a 64-bit variant to encode shift field in some of the shift and rotate instructions operating on double-words. Convert some of the BPF instruction macros to use the same. Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions