]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
powerpc/bpf: Introduce __PPC_SH64()
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Wed, 8 Feb 2017 08:57:29 +0000 (14:27 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 10 Feb 2017 02:28:03 +0000 (13:28 +1100)
commitc233f5979b3dbb39a5b2473b5fcaf58baec8f1bd
tree60ab99c5c0d6e7c4b3403d58bd7af6c5e5d0d871
parent438cc81a41e8c2905d0f4f300d4690445b2ab240
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>
arch/powerpc/include/asm/ppc-opcode.h
arch/powerpc/net/bpf_jit.h